PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
My only problem is this how do I get the script to check if the file already exists, and then ask if you want to overwrite the file. If you click yes it will overwrite, if you click no it will not upload.
[php_man]file_exists[/php_man] for checking existance. Then write a specialized form to handle the overwrite dialog. The upload would have to have already happened by this point. Instead of moving the file, it'd just [php_man]unlink[/php_man] to delete the temporary file..