PHP is a very basic small question. could you please advise ;? Php & nbsp; $ upfile $ _ FILES [& quot; upfile & quot;];? & Gt; & lt; formmethod & quot; post & quot; name & quot; upfile & quot; enctype & quot; multipartform-data & quot; action & q PHP is a basic small problem. please advise
$ Upfile = $ _ FILES ["upfile"];
?>
The above is the code content. when running the webpage, the system always prompts $ upfile = $ _ FILES ["upfile"]; this line reports an error. What's wrong?
------ Solution --------------------
Well .....
In fact, this is a prompt, which is 5. an improvement of php after version x. If you feel annoyed, you can disable php. ini error prompts to block these prompts, of course, I do not recommend this. Therefore, this type of submitted value can be determined through isset. For a variable, you can use the initialization value assignment method.