The $fname is blank
The $parts doesn't have the file name correctly. It has:
sql 20061219 2045.
File name should be: Backup_mysql 20061219 2045.sql
This is the whole line I'm reading from the dir results file:
12/19/2006 09:45 PM 345,984 Backup_mysql 20061219 2045.sql
The time stamp part works.
What I'm trying to do is delete files in a directory based on their
timestamp.
Pat
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
[Non-text portions of this message have been removed]