Actually I have a backups folder that gets once a day backups of the database automaticcaly. I want to be able to know the name fo the the latest file to do the restore. The name of the files have the time stamp and plus file has a time last mdified date attached to it. How can I know which file got restored last using php and also the file name. Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php