Home  >  Article  >  Backend Development  >  请教个问题

请教个问题

WBOY
WBOYOriginal
2016-06-23 13:56:34876browse

http://newxzc.by.com/Handle/Login.asmx/CookeLogin

$url="http://newxzc.by.com/Handle/Login.asmx/CookeLogin";
 $string  = file_get_contents($url);
echo $string;

输出的是空值   但是在浏览器上直接输出就是有json 的值


回复讨论(解决方案)

直接浏览器访问:
Server Error in '/' Application.
......

网站不可访问,不好说什么

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