php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20214 Scripts included via HTTP don't show up in get_included_files
Submitted: 2002-11-01 14:26 UTC Modified: 2002-11-05 10:38 UTC
From: leon at leonatkinson dot com Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4CVS-2002-11-01 OS: RH 7.3
Private report: No CVE-ID: None
 [2002-11-01 14:26 UTC] leon at leonatkinson dot com
Please consider the following script.

<?
	include("http://www.php.net/index.php");
	print_r(get_included_files());
?>

Using require(), require_once() or include_once() causes "http://www.php.net/index.php" to appear in get_included_files()'s return value.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-01 23:44 UTC] iliaa@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


 [2002-11-05 10:38 UTC] leon at leonatkinson dot com
Yes, it has.  Thanks!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 21:01:27 2024 UTC