From:             [EMAIL PROTECTED]
Operating system: Red Hat 6.x & 7.x
PHP version:      4.1.2
PHP Bug Type:     Filesystem function related
Bug description:  allow_url_fopen = Off cuts the ability to open php://*

<?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 bug report at http://bugs.php.net/?id=16377&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16377&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16377&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16377&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16377&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16377&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16377&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16377&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16377&r=submittedtwice

Reply via email to