Someone please briefly explain this behavior. As per the note under "remote files" in manual:
Note: You can't use remote files in include() and require() statements on Windows. Why is that? Regards, Philip Olson On 24 Jan 2002 [EMAIL PROTECTED] wrote: > ID: 14131 > Updated by: sander > Old Summary: include "http" problem > Reported By: [EMAIL PROTECTED] > Status: Bogus > Bug Type: Scripting Engine problem > Operating System: Windows Server 2000 > PHP Version: 4.0.6 > New Comment: > > Read the docs. include() and require() do not work on Windows on remote > files. > Alternative: readfile() > > > Previous Comments: > ------------------------------------------------------------------------ > > [2002-01-24 11:27:25] [EMAIL PROTECTED] > > So why not post that as a solution in the first place ?? > As we and MOST others download pre compiled binaries to use on our full > production sites. > > ------------------------------------------------------------------------ > > [2002-01-24 11:24:51] [EMAIL PROTECTED] > > Still is a configuration error... > You must enable remote includes at compile time. > > ------------------------------------------------------------------------ > > [2002-01-24 11:21:13] [EMAIL PROTECTED] > > PHP on IIS does not have external includes they just do work. We we > posted this before we were told it is a config error, it is not it is > an error loclal includes work but not http:// includes even with php as > a module on apache. > > ------------------------------------------------------------------------ > > [2001-11-20 03:13:58] [EMAIL PROTECTED] > > This is most likely a configuration problem. Please ask such questions > on [EMAIL PROTECTED] > > Bogus > > ------------------------------------------------------------------------ > > [2001-11-19 21:34:26] [EMAIL PROTECTED] > > include ("http://www.somesite.com/somepage.html"); > > Worked perfect on our unix box and our win98 machines but when we > installed PHP on our Windows server it no longer worked and tottaly > ignored the include unless we used the path instead like. > > include ("somepage.html"); > > [EMAIL PROTECTED] > > ------------------------------------------------------------------------ > > > > Edit this bug report at http://bugs.php.net/?id=14131&edit=1 > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]