Forum Moderators: coopster
Now we would like to change that and have PHP script get and explode the referrer and pass variables to a cookie or session, so we get clean URLs.
For me, this means I need that PHP script to load only once at the first page load (when users just enter the site, no matter how they came on).
What is the easiest way to load the script on initial site visit only? Can that be done from .htaccess?
I'm trying to figure a way where I don’t need to add any of this PHP
code to actual HTML pages.
Thanks