|
|
Joined: Oct 2007
Posts: 6
Lurker
|
Lurker
Joined: Oct 2007
Posts: 6 |
Hi all,
I have yahoo sponsored links in some boards of my forum in a custom island. So this custom island by default appears between first and second post in every thread of a particular board.
To get the sponsored links we need to send a parameter called "serveurl" (which is the actual page URL that the ads are being served on). That means every time we contact the yahoo DB we need to pass this parameter. So I am wondering if there is a way I can get this page url?
Thanks in advance
Last edited by Kris; 12/05/2007 1:44 PM.
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
<?php echo("http://". $_SERVER["HTTP_HOST"] . $_SERVER["PHP_SELF"]); ?> should always echo out the current page (whatever it may be according to PHP). Theres also <?php echo("http://". $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); ?>
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|