php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14131 include "http" problem
Submitted: 2001-11-19 21:34 UTC Modified: 2002-01-24 11:57 UTC
From: mike at onlinetvuk dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.0.6 OS: Windows Server 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mike at onlinetvuk dot com
New email:
PHP Version: OS:

 

 [2001-11-19 21:34 UTC] mike at onlinetvuk dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-11-20 03:13 UTC] mfischer@php.net
This is most likely a configuration problem. Please ask such questions on php-general@lists.php.net

Bogus
 [2002-01-24 11:21 UTC] mike at onlinetvuk dot 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.
 [2002-01-24 11:24 UTC] sesser@php.net
Still is a configuration error...
You must enable remote includes at compile time.
 [2002-01-24 11:27 UTC] mike at onlinetvuk dot 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:57 UTC] sander@php.net
Read the docs. include() and require() do not work on Windows on remote files.
Alternative: readfile()
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 05 11:01:26 2024 UTC