Bug #14131 Updated: include "http" problem

From: Date: Thu, 24 Jan 2002 16:57:06 +0000
Subject: Bug #14131 Updated: include "http" problem
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78015@lists.php.net to get a copy of this message
ID: 14131
Updated by: sander
Old Summary: include "http" problem
Reported By: mike@onlinetvuk.com
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] mike@onlinetvuk.com

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] sesser@php.net

Still is a configuration error...
You must enable remote includes at compile time.

------------------------------------------------------------------------

[2002-01-24 11:21:13] mike@onlinetvuk.com

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] mfischer@php.net

This is most likely a configuration problem. Please ask such questions
on php-general@lists.php.net

Bogus

------------------------------------------------------------------------

[2001-11-19 21:34:26] mike@onlinetvuk.com

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"); 

bugs@liveuk.org

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14131&edit=1



Thread (7 messages)

« previous php.dev (#78015) next »