Home > Backend Development > PHP Tutorial > 请教个问题

请教个问题

WBOY
Release: 2016-06-23 13:56:34
Original
891 people have browsed it

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.
......

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template