What does $ _ SERVER and $ _ FILES mean? None of these two statements can be understood.
If ($ _ SERVER ['request _ method'] = 'post ')
If (! Is_uploaded_file ($ _ FILES ["upfile"] [tmp_name])
Reply to discussion (solution)
If ($ _ SERVER ['request _ method'] = 'post') determines whether the REQUEST (this php script) METHOD is POST
If (! Is_uploaded_file ($ _ FILES ["upfile"] [tmp_name]) to determine whether the uploaded file is successful
If ($ _ SERVER ['request _ method'] = 'post') determines whether the REQUEST (this php script) METHOD is POST
If (! Is_uploaded_file ($ _ FILES ["upfile"] [tmp_name]) to determine whether the uploaded file is successful
What does $ _ SERVER and $ _ FILES mean?
If ($ _ SERVER ['request _ method'] = 'post') determines whether the REQUEST (this php script) METHOD is POST
If (! Is_uploaded_file ($ _ FILES ["upfile"] [tmp_name]) to determine whether the uploaded file is successful
What does $ _ SERVER and $ _ FILES mean?
The server obtains the server variables and files obtains the information of the uploaded files. You can check the manual or Baidu.