Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Kur darau klaida?

Parašė armasi· 2008 Lap. 13 20:11:38
#1

trinti.php

<?php $a=glob("forume/*.txt"); foreach($a as $b) { $pimpa=explode("|",file_get_contents($b)); if(time()+100>$pimpa[1]) { unlink($b); }} $a=glob("zaidime/*.txt"); foreach($a as $b) { $pimpa=explode("|",file_get_contents($b)); if(time()+100>$pimpa[1]) { unlink($b); }}
$a=glob("saite/*.txt"); foreach($a as $b) { $pimpa=explode("|",file_get_contents($b)); if(time()+110>$pimpa[1]) { unlink($b); }}
$a=glob("chate/*.txt"); foreach($a as $b) { $pimpa=explode("|",file_get_contents($b)); if(time()+110>$pimpa[1]) { unlink($b); }} ?>

online.php

<?php $nick=$_GET['nick']; $id=$_GET['id']; $p=$_GET['p']; if(file_exists("forumas/failai/vartotojai/nickai/$nick.txt")) { $time=time()+120; file_put_contents("saite/$nick.txt","|$time|"); } $a=glob("saite/*.txt"); foreach($a as $b) { $pimpa=explode("|",file_get_contents($b)); if(time()>$pimpa[1]) { unlink($b); } } ?>

Kur klaida? ? ?!
Nu dw padėkit kur klaida? :@ :? :o ?|

Redagavo armasi· 2008 Lap. 13 20:11:07

Parašė ex-it· 2008 Lap. 13 20:11:30
#2

Kokį errorą gauni bleat..

Parašė armasi· 2008 Lap. 13 20:11:37
#3

Warning: Invalid argument supplied for foreach() in /home/comunicate4/public_html/online.php on line 1

Warning: Invalid argument supplied for foreach() in /home/comunicate4/public_html/trina.php on line 1

Warning: Invalid argument supplied for foreach() in /home/comunicate4/public_html/trina.php on line 1

Warning: Invalid argument supplied for foreach() in /home/comunicate4/public_html/trina.php on line 2

Warning: Invalid argument supplied for foreach() in /home/comunicate4/public_html/trina.php on line 3

Parašė MAnjack· 2008 Lap. 13 21:11:30
#4

$b neaprašytas.

Parašė armasi· 2008 Lap. 13 21:11:53
#5

Šakes,nemoku kitaip tada :o o tai ka vietoj $b reikia?