map200uk Posted April 30, 2007 Share Posted April 30, 2007 sorry to be a pain, but someone must have an idea or know somewhere of use Warning: simplexml_load_file(http://api.leoslyrics.com/api_search.php?auth=duane&artist=the kooks&songtitle=naive) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.1 505 HTTP Version Not Supported in /opt/lampp/htdocs/xmltest/tests2.php on line 3 Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http%3A//api.leoslyrics.com/api_search.php%3Fauth=duane&artist=the%20kooks&songtitle=naive" in /opt/lampp/htdocs/xmltest/tests2.php on line 3 Array ( [artist] => the kooks [songtitle] => naive ) when i try to load the file in using variables as the parameters for the url i get all kinds of crazy errors-if i copuy the url from first warning and paste into a new firefox tab it workes fine, leaving me a bit unsure what the issue is , or more importantly how to fix it!?! thanks in advance Link to comment https://forums.phpfreaks.com/topic/49315-xml-reading-a-file-remotely/ Share on other sites More sharing options...
map200uk Posted April 30, 2007 Author Share Posted April 30, 2007 anyone got any ideas? its giving me a headache.. Link to comment https://forums.phpfreaks.com/topic/49315-xml-reading-a-file-remotely/#findComment-241698 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.