Bug #13600 Updated: problem with the require function

From: Date: Wed, 10 Oct 2001 18:30:32 +0000
Subject: Bug #13600 Updated: problem with the require function
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-67707@lists.php.net to get a copy of this message
ID: 13600 Updated by: sander Reported By: stefan.cano@virtualxs.com Status: Open Bug Type: Scripting Engine problem Operating System: w2k PHP Version: 4.0.6 New Comment: Reproduced with latest dev-version from php4win.com (04-Oct-2001). Previous Comments: ------------------------------------------------------------------------ [2001-10-09 16:52:46] jeroen@php.net Ignore my comments, the previous comments didn't yet show up, or I missed them. ------------------------------------------------------------------------ [2001-10-09 15:23:18] jeroen@php.net You most probably didn't enable the url-fopen wrappers directive. See http://www.php.net/manual/en/configuration.php , the very first directive. Run phpinfo() to see the current status of that directive. Most likely not a bug -> Marked as such. ------------------------------------------------------------------------ [2001-10-09 12:07:21] stefan.cano@virtualxs.com PHP-4.0.6, IIS5.0 on Win2K. fpassthru(fopen("http://localhost/test.php","r")); //works thanks ------------------------------------------------------------------------ [2001-10-09 11:09:37] sander@php.net Reproduced with PHP-4.0.6, Apache 1.3.20 on Win2K. require("http://localhost/test.php"); // fails include("http://localhost/test.php"); // fails fpassthru(fopen("http://localhost/test.php","r")); // works ------------------------------------------------------------------------ [2001-10-09 04:02:25] stefan.cano@virtualxs.com That's correct, when I run it on a linux host it works fine. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=13600 Edit this bug report at http://bugs.php.net/?id=13600&edit=1

« previous php.dev (#67707) next »