HTTP Include Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux