ID: 28115 Updated by: [EMAIL PROTECTED] Reported By: javier at albinarrate dot com -Status: Open +Status: Assigned Bug Type: HTTP related Operating System: Windows 2000 PHP Version: 5.0.0RC1 -Assigned To: +Assigned To: pollita
Previous Comments: ------------------------------------------------------------------------ [2004-04-23 04:13:40] javier at albinarrate dot com Description: ------------ The combination of *Context http option "proxy" *Context http option "request_fulluri" *A redirection with the "Location" header Causes a memory error at least in Windows 2000 The error is: php-cgi.exe - Application Error The instruction at "0x1003cbb3" referenced memory at "0x00320035". The memory could not be "read". Reproduce code: --------------- <? // Filename test.php $url = 'http://domain/test/redir.php'; $options = array ( 'http' => array ('proxy' => 'tcp://10.0.0.1:8080', 'request_fulluri' => true ) ); $context = stream_context_create($options); $handle = fopen($url, 'r', 0 , $context); fpassthru($handle); ?> <? // Filename redir.php header("Location: ../index.php"); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28115&edit=1
