The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
Had a look on Google, but all I can find is info on mod_rewrite/htaccess - any ideas? I'm guessing it would have to be some sort of server protocol. can you use PHP commands within an .htaccess file to log access?
Had a look on Google, but all I can find is info on mod_rewrite/htaccess - any ideas? I'm guessing it would have to be some sort of server protocol. can you use PHP commands within an .htaccess file to log access?
I get mine through Webalizer statistics package.
Tells me IP addresses of people visiting my site, how much they download, how many times each page gets hit, the browsers people are using, where in the world they arefrom etc.etc.
Theres also some free services that do it all for you such as
http://referer.org/
And just to save anybody else the bother of saying so, referal information isnt exactly trustworthy. Some browsers dont send it, or allow you to change it. Also its a tool for spamming and generating link farms. Some of the sites I run regularly get alot of referers from porn sites despite there clearly being no link. Also theres spyware out there that thinks its amusing to change the referer. So basically, its dubious information to publish on your site. :)
If you're just interested in the information, you can do
[URL]http://www.google.co.uk/search?hl=en&q=link%3Awww.pocketmonkey.co.uk&meta=[/URL] too.
OK, thanks for the advice.
$ref=@$HTTP_REFERER;
CONNECT
$sql = "UPDATE file SET ref='$ref' WHERE id=$id";
$result = mysql_query($sql);
mysql_close($db);
That's my really crude version of it, it displays the last referring site to each file that's accessed.
[URL]http://www.phi11ip.com/search.php[/URL]
That's what it shows up as.
[URL]http://www.w3schools.com/sql/sql_where.asp[/URL] - scroll down to LIKE.
(sorry)
I haven't updated the site in ages, people are getting angry at me.
Etc.