This is a discussion on FIle Upload and Form submissions within the PHP General forums, part of the PHP Programming Forums category; Hi, I am using PHP_SELF to submit a form. I check for all required conditions and set unset the submit.....
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi,
I am using PHP_SELF to submit a form. I check for all required conditions and set unset the submit..if errors are found. The trouble I have is, I also have file upload fields in this form. Though the file submission fails, the file gets uploaded. I tried to @unlink('file') but this does not delete the file. how do you handle file uploads in file submissions? thanks for your time! |