benslayton
01-21-2007, 06:42 AM
ok i want to be able to see what page my visitors have seen. if add this into my php code:
$var =" <script> document.write(location.href); </script>";
It show the url of my log file and not what the visitors went to. Any one know how to do this? I would really like to have it all output as one varible, if possible.
Note: I am using a MySQL db.
$var =" <script> document.write(location.href); </script>";
It show the url of my log file and not what the visitors went to. Any one know how to do this? I would really like to have it all output as one varible, if possible.
Note: I am using a MySQL db.