is there any function that could check for a file like msg00.php and if it existed change it to msg01.php or if that existed msg02.php, etc. ?
Charles "Hamled" Ellis
Search the manual. http://www.php.net:8000/manual/en/html/function.file-exists.html
yeah, I just saw that after I posted this, but I was still wondering about if there was any way to update the file it was checking for if that file was already there.
You'll have to write your own routine to update the filename.