for loop not working
| From: | hadi | Date: | Sat, 14 Jun 2014 18:54:21 +0000 |
| Subject: | for loop not working | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-323454@lists.php.net to get a copy of this message | ||
Hi ,
Can someone help me to fix my code. It throwing error. I couldn't determine
how to do the for loop.
Here is my code
<?php
for ($i; in /tmp/sess*)
{
if (time()- filemtime($ip) > 60)
{
$old = 'hadi';
$filename = '$i';
$file = file_get_contents($filename);
strpos($file, $old);
unlink ($filename);
break();
}
}
?>
Attachment: [application/pkcs7-signature] smime.p7s
Attachment: [application/pkcs7-signature] smime.p7s