Bug #16377 Updated: allow_url_fopen = Off cuts the ability to open php://*

From: Date: Fri, 10 May 2002 19:55:02 +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-7408@lists.php.net to get a copy of this message
ID: 16377 Updated by: derick@php.net Reported By: cox@idecnet.com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Red Hat 6.x & 7.x PHP Version: 4.1.2 New Comment: Fixed (per 4.3.x) Previous Comments: ------------------------------------------------------------------------ [2002-04-16 18:22:22] wez@php.net As of PHP 4.3.0 (current CVS HEAD) this no longer applies. ------------------------------------------------------------------------ [2002-04-01 16:07:36] derick@php.net Not a bug, making it a documentation issue. Derick ------------------------------------------------------------------------ [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

« previous php.bugs (#7408) next »