但是如果我使用php调用这两个web服务(使用了两次)$Userdata=file_get_contents("url to getuser specific data");
看起来$Userdata没有数据,就好像前面的行file_get_contents("url to login");还没有被执行一样。
文件a.phpdie('this is my text');文件b.php:file_get_contents('http://mysite.pl/a.php');但它不起作用。我不能使用file_get_contents,当文件位于同一台服务器上时,我不知道为什么。PHP信息:
allow_url_fopen: