I'm trying to link to a adbanner that is in Perl and sometimes it reads it other times it gives the following error:
Warning: readfile(): php_hostconnect: connect failed in /sites/whatever.com/mysite/header.inc on line 15
Warning: readfile([url]http://www.whatever.com/cgi-bin/add-bannerad.pl[/url]): failed to open stream: Network is unreachable in /sites/whatever.com/mysite/header.inc on line 15
The file it should read is
http://www.whatever.com/cgi-bin/add-bannerad.pl
The php code I'm using is:
<?php readfile("http://www.whatever.com/cgi-bin/add-bannerad.pl"); ?>