Web Hosting Talk







View Full Version : Need Some Help! PHP/JavaScript


LayeredZoneHosting
01-05-2007, 03:06 AM
I want to make a script that will visit my forums and view each thread once so it will boost up the view count, how can I do that?

This is what I have so far:


<?
$var= rand(1,5200);

echo "$var";
?>
<head>
<meta http-equiv="Refresh" content="0; url=http://site.com/showthread.php?t=<?"$var"?>>
</head>


What other way can I do this?

Thanks

Ks Jeppe
01-05-2007, 09:05 AM
If it's your forum, why not just log in to the mysql database and update view count for all threads?