I'm using a simple "Recommend this page" script that prints the recommended page with the following code:
This works fine for regular PHP pages such asCode:$referer = getenv("HTTP_REFERER"); print "<B>$referer</B><BR><BR>";
http://www.example.com/info.php
But if it is a page which has some variable passed to it such as
http://www.example.com/info.php?id=4
it will only reference "http://www.example.com/info.php" as the page to be recommended.
Thus, how do I enable $referer to also include the passed variables?






Bookmarks