Ok, this has to be easy.
Uploading a file is as easy as using @copy.
but how do you delete a file off of the server?
use this
unlink($full_file_name)
full_file_name can be something like "../some_dir/some_file.ext" Unlink returns TRUE if succesfull
Happy new Year