ID: 26851
Updated by: [EMAIL PROTECTED]
Reported By: info at sovall dot cz
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: win2k
PHP Version: 5CVS-2004-01-09 (dev)
New Comment:
allow_url_fopen is a PHP_SYSTEM value and cannot be changed in a
script.
That shouldn't be responsible for your error though, could you run this
code snippet and output the results?
<?php
var_dump(stream_get_wrappers());
?>
Previous Comments:
------------------------------------------------------------------------
[2004-01-09 05:43:12] info at sovall dot cz
Description:
------------
Unable to find the wrapper "http".
Reproduce code:
---------------
<?php
ini_set('allow_url_fopen', '1');
ini_set('user_agent', 'PHP');
$file = fopen ("http://www.php.net/", "r");
?>
Actual result:
--------------
Notice: fopen() [function.fopen]: Unable to find the wrapper "http" -
did you forget to enable it when you configured PHP?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26851&edit=1