Re: [PHP] strtotime('yesterday')

2005-05-25 Thread Burhan Khalid
Richard Lynch wrote: On Tue, May 24, 2005 7:24 am, Rahul S. Johari said: Im trying to delete all files in a folder based on a string match with the following code: ? $dir = '/Library/WebServer/Documents/something.com/subfolder/'; $dp = opendir($dir) or die ('Fatal Error: '.mysql_error());

[PHP] strtotime('yesterday')

2005-05-24 Thread Rahul S. Johari
Ave, I¹m trying to delete all files in a folder based on a string match with the following code: ? $dir = '/Library/WebServer/Documents/something.com/subfolder/'; $dp = opendir($dir) or die ('Fatal Error: '.mysql_error()); while ($file = readdir($dp)) { if ((eregi('.png',$file))

Re: [PHP] strtotime('yesterday')

2005-05-24 Thread Richard Lynch
On Tue, May 24, 2005 7:24 am, Rahul S. Johari said: I¹m trying to delete all files in a folder based on a string match with the following code: ? $dir = '/Library/WebServer/Documents/something.com/subfolder/'; $dp = opendir($dir) or die ('Fatal Error: '.mysql_error()); while ($file =