Forum Moderators: coopster
Configuring a tell a friend form to work with a forum site, and right now I'm using the following string to grab the URL:
<? echo $_SERVER['PHP_SELF'];?>
Which only partially works - It will only grab the "viewtopic.php" and not any of the other parameters that would take someone to a specific post (such as viewtopic.php?p=1767)
Is their another way I can grab the URL that will include the extra variable?
Thanks -
Matt
try
<? echo $_SERVER['REQUEST_URI'];?>