I use php language and I have a line error.




Screen captures do not help us. We need code to help fix code. Please show us a few lines of your code before and after the error line. Does your code check to see if a file was selected? Most likely that is the problem…

It’s not even clear from the information you have posted if you are getting these errors before the form has been submitted or after. It does appear that the form processing code is located after the form markup. The form processing code should be above the start of the html document so that you can decide, based on the result of the form processing code, what to do on the page.

Note: the correct index name is tmp_name, not temp_name.

Sponsor our Newsletter | Privacy Policy | Terms of Service