For some reason, PHP is not uploading my files. It is not even in the temp directory. I am running AppServ on my local machine.
Here's the form
<form method=' post' action=' http://localhost/spcatv/includes/process.php?sid=93667b128fa9a6882844a8ce712e66e3&debug=set' enctype='multipart/form-data' onSubmit='submitonce(this)'>
<b>Name:</b><input type='text' name='name' length='50' value='Test 13'>
<select name='new_order'>
<option value='1'>1</option>
<option value='2'>2</option>
</select>
<b>Description:</b>
<textarea cols='50' rows='15' name='description' wrap='virtual' >Test 13</textarea>
Upload a new file:
<input type="hidden" name='MAX_FILE_SIZE' value='55000'><input type='file' name='file'> <input type='Submit' name='upload_file' value='Upload File'>
<input type='Submit' name='final_submit' value='Submit'>
</Form>
There are two submits, one for uploading the files, and one that uploads the files if necessary.
In process .php, I print out $FILES['file']['tmp_name'] which returns something like C:\AppServ\www\temp\phpA3.tmp, like it should. However, the file is not created. I have the script die right after printing out $FILES['file']['tmp_name'] which comes right after my include statments, that do nothing with the file.
Any ideas on how to troubleshoot?