Token file, captured with Fiddler, and found that php & nbsp; se php received client post data problems
The vc client posts the abc.txt file to the php server, but the abc.txt file is not generated in the upfilesdirectory of the php server. the file is captured using Fiddler. it is found that the php server returns the http file and the postabc.txt file also contains content? Please advise. Thank you very much!
Abc.txt file content:
Verify: local
Id: 1111
Host: 2.2.2.2
Id: 2222
Host: 3.3.3.3
Id: 3333
Host: 4.4.4.4
Fiddler packet capture:
Php server code:
$ Uploadfile = "upfiles/". $ _ FILES ['upfile'] ['name'];
Move_uploaded_file ($ _ FILES ['upfile'] ['tmp _ name'], $ uploadfile );
?> Share:
------ Solution --------------------
$ Uploadfile = "upfiles/". $ _ FILES ['upfile'] ['name'];
Echo move_uploaded_file ($ _ FILES ['upfile'] ['tmp _ name'], $ uploadfile );
?>
Check the permission on the upfiles Directory. do you have the write permission?