At 13:34 24.05.02, you wrote: >I use the copy function to copy a file to the server, like this; >copy($file, "./jpg/$name.jpg"); > >what would I do to removeit from the server, or delete it?
if( file_exists( "$dirName/$file" ) ) { unlink( "$dirName/$file" ); } HTH Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php