ошибка file_get_contents ()

Я использую file_get_contents на своем PHP, и это вызывает некоторые ошибки:

Мой код

#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

Есть идеи? Он отлично работал в мой компьютер перестал работать, когда я перенес его на веб-сервер.

7
задан Tim Cooper 31 August 2011 в 19:51
поделиться