tags:

views:

50

answers:

2
+1  A: 

Check "upload_max_filesize" in .htaccess. if the provided file size is greater then specified, then $_FILES will not get anyting.

Thanks

Chetan sharma
+1  A: 

You may be getting those errors when the form attempts to submit the file to the script, but there was no file sent to the script. Make sure you do checking prior for the $_FILES['uploadedfile'] to be set prior to trying to move an uploaded file out of the temp directory.

Your MAX_FILE_SIZE is only set to 100000 bytes, so it's only 97.65625KB, make sure the file you are uploading is less than that size. Otherwise as I recall, it does not submit the form.

Ya the test File I was using was a txt file. I just now started noticing that I can't post ANYTHING to the server. This must be the root of the issue. I just don't have any idea why this is happening now the server and php was fine up intill I changed the ini now the posting is all messed up. I think apache is fine as I can see all my php files its just posting data to those files doesn't seem to work.