ID: 15999
Updated by: sniper@php.net
Reported By: didier.alain@laposte.net
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Linux
PHP Version: 4.1.0
New Comment:
You're calling the same script with that fopen() ?
The behaviour is called 'infinite recursion' and yes,
it will hang.
Not a bug.
--Jani
Previous Comments:
------------------------------------------------------------------------
[2002-03-11 10:48:52] didier.alain@laposte.net
<?php
$url = "http://test/block.html?PHPSESSID=".session_id();
$fp = fopen($url, 'r'); // the file pointer semms to be valid
$file = fread($fp,1048576); //hangs here !
echo $file;
?>
hangs apache (1.3.x). Same with 4.0.2, 4.0.6 Linux (RH 6.2 and Debian
2.2), never on Win98. Other parameters don't have the same effect.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15999&edit=1