bsmbahamas
03-18-2008, 12:14 PM
I'm creating a very simple tracking script
that will append the page and a few visitor
details to a logfile...
I'm using $_SERVER['SCRIPT_NAME'], but
it only gives me the complete page address,
i want it to return the full address including
the ?cat=category part of it
the home page changes based on the ?cat=category
part, rather than going to other pages, so i want
to record the url that is being displayed.
thanks,
Michael.
that will append the page and a few visitor
details to a logfile...
I'm using $_SERVER['SCRIPT_NAME'], but
it only gives me the complete page address,
i want it to return the full address including
the ?cat=category part of it
the home page changes based on the ?cat=category
part, rather than going to other pages, so i want
to record the url that is being displayed.
thanks,
Michael.