On Thu, 23 Sep 2004 15:04:26 +0100, Mark Cooke <[EMAIL PROTECTED]> wrote: > I have a server hosted by a company running Win2k, they are in charge of > the maintainance, and we had a site working fine, then yesterday, it > failed to include any files using http:// using: > include ("http://".$_SERVER['SERVER_NAME']."/dir/somefile.php");
It sounds like you're doing a thorough troubleshooting job, so I'll just throw a few random thoughts your way. Have you tried to open the file using a web browser on the server in question? For example, can you open http://www.somesite.com/test.txt from the PHP server having the trouble? Have you tried using double quotes instead of single quotes on the include statements? I know this shouldn't make any difference, but I've seen enough weird things happen to make me think to try it. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php