hey, any1 have or can make a toplist script i which in/out stats will be of last 24hours...??? m readu=y 2 pay.reply here immediatly
External image (may be gone) http://WapTops.com- Get Real High Traffic http://WapFun.info-Fun 4 Wap
Started on the old forum in December 2010 · view the original in the archive · old links redirect here
hey, any1 have or can make a toplist script i which in/out stats will be of last 24hours...??? m readu=y 2 pay.reply here immediatly
External image (may be gone) http://WapTops.com- Get Real High Traffic http://WapFun.info-Fun 4 Wap
nobody is here to make it 😢
External image (may be gone) http://WapTops.com- Get Real High Traffic http://WapFun.info-Fun 4 Wap
Simple to do man
store all the stats incoming/outgoing with the current time, so basically you
call everything from the database that has a time greater than or equal to 24 hours ago.
$time = time();
$ago = $time - (60 * 60) * 24;
$get = mysql_query("SELECT * FROM `statstable` WHERE requestTime >='".$ago."'");
while($stats=mysql_fetch_object($get))
{
echo $stat->incomeclicks;
//etc
}
m trying to add the time of in/out hits but its not working see dis
$date=Date("H:i:s");
$insert=mysql_query("INSERT INTO in_out SET ip='".$_SERVER['REMOTE_ADDR']."', sid='".$_POST["sid"]."', time='".$date."');
External image (may be gone) http://WapTops.com- Get Real High Traffic http://WapFun.info-Fun 4 Wap
slowy wrote: m trying to add the time of in/out hits but its not working see dis
$date=Date("H:i:s"); $insert=mysql_query("INSERT INTO in_out SET ip='".$_SERVER['REMOTE_ADDR']."', sid='".$_POST["sid"]."', time='".$date."');
your missing a " at the end ");