Jag använder en server som har en ur gammal php och jag undrar hur man gör en include från en annan hemsida....
addresen är (fake) http://nogonsida.se/inc/news.txt
jag har testat med
<? include ("http://nogonsida.se/inc/news.txt") ?>
och
$not=@include
men inget funkar
felet är
Warning: main(): URL file-access is disabled in the server configuration in /home/not/not.com/h/b/not/edit.php on line 97
Warning: main([url]http://nogonsida.se/inc/news.txt[/url]): failed to open stream: no suitable wrapper could be found in /home/not/not.com/h/b/not/edit.php on line 97
Warning: main(): Failed opening 'http://nogonsida.se/inc/news.txt' for inclusion (include_path='.:/usr/local/lib/php') in /home/not/not.com/h/b/not/edit.php on line 97