PHP -- warnings for file()
Posted by: bostonrant
Posted on: 2006-08-01 16:15:00
I'm writing a prog that opens an XML file and parses the tags for data. It was actually pre-written and I'm going to modify it. I'm getting three warnings and I'm not getting the data. The warnings are:
Warning: file(): URL file-access is disabled in the server configuration in /home/.cattaira/***/***/***/index.php on line 6
Warning: file(http://xoap.weather.com/weather/local/21211?cc=*∏=xoap&par=1003188692&key=7392ac66b4e27671): failed to open stream: no suitable wrapper could be found in /home/.cattaira/***/***/***/index.php on line 6
Warning: join(): Bad arguments. in /home/.cattaira/***/***/***/index.php on line 6
If you want to check out the program, it's at http://www.zend.com/codex.php?id=1257&single=1
At this point, I haven't made any changes, I just want this code to run.
Thanks for any help