|
Posted by Joaquim Amado Lopes on 10/11/09 11:59
Greetings.
I want to implement a feature on a site, registering the date-time,
referer and page visited for every pageview.
As the pages are built with a script, the parameters passed determine
what is to be displayed, I need to register the whole URL requested,
like http://domain/page.php?var1=a
I tested $_SERVER['REQUEST_URI']; and it worked fine on my PC. But,
on the server, it always returns nothing.
Any idea on what may be causing it?
BTW, for the referer, I use $_SERVER['HTTP_REFERER'] and it works fine
both on my PC and the server.
Thank you,
Joaquim Amado Lopes
Navigation:
[Reply to this message]
|