Im a newbie at php and im just toying with the $HTTP_USER_AGENT command. I cant get it going though :\
I coded the following lines but it wont go for some reason:
<?php
$refer = \"Heya, I see you came from $HTTP_REFERER\";
echo $refer;
?>
Yet the next one, almost the same, goes.
<?php
$browser = \"Heya, I see you are using $HTTP_USER_AGENT\";
echo $browser;
?>
I look in my phpinfo and the $HTTP_REFERER isnt listed...infact there arent a huge amount of these $blahblah\'s listed. How would I go about adding the $HTTP_REFERER command ? Perhaps my $HTTP_REFERER script is simply wrong ?
thanks