Bug #16377 Updated: allow_url_fopen = Off cuts the ability to open php://*
| From: | derick@php.net | Date: | Mon, 01 Apr 2002 21:07:37 +0000 |
| Subject: | Bug #16377 Updated: allow_url_fopen = Off cuts the ability to open php://* | ||
| References: | 1 | Groups: | php.bugs php.doc |
| Request: | Send a blank email to php-bugs+get-3760@lists.php.net to get a copy of this message | ||
ID: 16377
Updated by: derick@php.net
Reported By: cox@idecnet.com
Status: Open
-Bug Type: Filesystem function related
+Bug Type: Documentation problem
Operating System: Red Hat 6.x & 7.x
PHP Version: 4.1.2
New Comment:
Not a bug, making it a documentation issue.
Derick
Previous Comments:
------------------------------------------------------------------------
[2002-04-01 11:32:30] cox@idecnet.com
<?php
ini_set('allow_url_fopen',false);
if (!fopen('php://stderr','w')) echo "No\n";
ini_set('allow_url_fopen',true);
if (fopen('php://stderr','w')) echo "Yes\n";
?>
Ouput:
Warning: fopen("php://stderr", "w") - No existe el fichero o el
directorio in /root/temp/basura/fopen.php on line 3
No
Yes
-- Tomas V.V.Cox
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16377&edit=1