where i can get update.php for site daily updating
Started on the old forum in May 2011 · view the original in the archive · old links redirect here
when you make requests always be specific and give as much info as you can. Were not wizards u kno :duh:
save this as added.php and include it in index.php
<?
include 'moduls/config.php';
echo '<div class="t"><img src="ext/free.gif" class="ico" alt=""/><b>Recent Files</b></div>';
$rw=mysql_fetch_array(mysql_query('select * from files order by id desc;'));
for($i=0;$i<5;$i++)
{
while(substr($rw[3],0,1)=="*")
{
$rw=mysql_fetch_array(mysql_query('select * from files where id < '.$rw[0].' order by id desc;'));
}
echo '<div class="main" style="word-wrap: break-word; width=90%;"><img src="ext/updim.png" alt=""/> <a href="show-'.$rw[0].'-'.urlencode($rw[3]).'.html">'.$rw[3].'</a> added in ';
$e=explode('/',$rw[2]);
echo $e[1].'</div>';
$rw=mysql_fetch_array(mysql_query('select * from files where id < '.$rw[0].' order by id desc;'));
}
?>
and hit Thanks BUTTON LOL 🙂