HTTP Include Error

From: Date: Mon, 28 Feb 2005 22:35:36 +0000
Subject: HTTP Include Error
Groups: php.general 
Request: Send a blank email to php-general+get-209627@lists.php.net to get a copy of this message
Hi This issue has been discusses many times before, but no perticular solution found. include '/www/.............../file.php' => works fine include 'http://google.com/' => works fine include 'http://myserver.com/file.php' => Warning: main(http://myserver.com/file.php): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /www/myserver/file2.php on line 4 Warning: main(): Failed opening 'http://myserver.com/file.php' for inclusion (include_path='') in ..................... 4 allow_url_fopen = ON The file is on same machine. It is not a file access prblem, I have ried with OPEN (777) permissions. Can anyone please shed some light on this? Thanks SP

« previous php.general (#209627) next »