我的代码
#try to fetch from remote $this->remotePath = "http://some-hostname.com/blah/blah.xml $fileIn = @file_get_contents($this->remotePath);
错误:
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /virtual/path/to/file/outputFile.PHP on line 127 Warning: file_get_contents(https://some-host-name/data/inputFile.xml) [function.file-get-contents]: Failed to open stream: no suitable wrapper could be found in /virtual/path/to/file/outputFile.PHP on line 127
任何的想法?它在我的计算机上工作正常但在我将其移植到Web服务器时停止工作.