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: I¹m trying to delete all files in a folder based on a string match with the following code: Erase Successful!All images up to $date, have been permanently erased from the Server."; ?> I need the code to delete all images

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 = r

[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: Erase Successful!All images up to $date, have been permanently erased from the Server."; ?> I need the code to delete all images created till yesterday, and leave images created today. Somehow strtot