Ik krijg de volgende error
script is dit en werkte voorheen wel
Warning: simplexml_load_file(http://api.twitter.com/1/statuses/user_timeline/nlrapnieuws.xml?count=50) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /home/horbahotel/domains/adjedonnie.nl/public_html/test/konjo.php on line 2
Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "http://api.twitter.com/1/statuses/user_timeline/nlrapnieuws.xml?count=50" in /home/horbahotel/domains/adjedonnie.nl/public_html/test/konjo.php on line 2 script is dit en werkte voorheen wel
[COLOR= #0000BB]<?php
$xml[/COLOR] [COLOR= #007700]=[/COLOR] simplexml_load_file[COLOR= #007700]([/COLOR][COLOR= #DD0000]"http://api.twitter.com/1/statuses/user_timeline/nlrapnieuws.xml?count=50"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<?xml version="1.0"?>
<rss version="2.0">
<channel>[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<item><title>[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$xml[/COLOR][COLOR= #007700]->[/COLOR]status[COLOR= #007700][[/COLOR][URL="http://www.php.net/rand"]rand[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]1[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]49[/COLOR][COLOR= #007700])]->[/COLOR]text[COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</title></item>[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</channel></rss>[/COLOR][COLOR= #007700];[/COLOR]
?>