percepts
01-02-2007, 11:45 AM
can anyone help with this php error.
"[Tue Jan 02 08:46:16 2007] [error] [client 195.137.117.123] PHP Warning: file(http://www.domain.com/stats/stats-daily.xml): failed to open stream: no suitable wrapper could be found in /var/www/html/statstest.php on line 3"
the code used to work no problem and my ISP claims they have done nothing but that can't be the case. Anyhow, I tried using php_stream_open_wrapper but got function not defined so that php extension doesn't exist on my ISP.
any clues on how to read an XML file from another domain avaoiding the wrapper error?
"[Tue Jan 02 08:46:16 2007] [error] [client 195.137.117.123] PHP Warning: file(http://www.domain.com/stats/stats-daily.xml): failed to open stream: no suitable wrapper could be found in /var/www/html/statstest.php on line 3"
the code used to work no problem and my ISP claims they have done nothing but that can't be the case. Anyhow, I tried using php_stream_open_wrapper but got function not defined so that php extension doesn't exist on my ISP.
any clues on how to read an XML file from another domain avaoiding the wrapper error?