From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.1.0 PHP Bug Type: Session related Bug description: fread() hangs apache when file pointer obtained from a url parameter PHPSESSID
<?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 bug report at http://bugs.php.net/?id=15999&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15999&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15999&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15999&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15999&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15999&r=support Expected behavior: http://bugs.php.net/fix.php?id=15999&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15999&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15999&r=submittedtwice