Home >Backend Development >PHP Tutorial > php接收客户端post数据有关问题

php接收客户端post数据有关问题

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 12:44:45852browse

php接收客户端post数据问题
vc客户端向php server端post abc.txt文件,但在php server端的upfiles目录下未生成abc.txt文件,用Fiddler抓包,发现php server端返回http 200,post的abc.txt文件内容也有,为啥server收不到呢?请高手指点。非常感谢!
abc.txt文件内容:
verify:local
id:1111
host:2.2.2.2
id:2222
host:3.3.3.3
id:3333
host:4.4.4.4

Fiddler抓包截图:



php server端代码:
$uploadfile = "upfiles/". $_FILES['upfile']['name'];
move_uploaded_file($_FILES['upfile']['tmp_name'], $uploadfile);
?> 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article: php上传断点续传解决方案 Next article: ,解密