Hi all ...
I am taking the HTTP_REFERER and chopping it up into pieces.
And an example, let's say ...
HTTP_REFERER was equalled to:
http://phpbuilder.com/forum/post.php3?num=2
Then ...
$sp_domain = "/";
$arr = split($sp_domain, $str);
$referral_domain = "$arr[0]//$arr[1]$arr[2]/";
'ECHO WOULD SHOW THE FOLLOWING
$referral_domain = http://www.phpbuilder.com
How would I go about doing this for the string portion though, so I can see what the query string of it is.
If I stry a split at a ? I get an error.
Maybe there is an easier way to do this on a http_referer.
Any help would be appreciated.
Thank You
Jared