|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-04-29 09:01 UTC] wez@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 11:00:02 2026 UTC |
Using Apache 1.3.27 with mod_ssl and mod_php4 as DSO, fopen() fails when adding SessionID as GET-Parameter: test1.php: <?php session_start(); $fp = fopen('http://domain.tld/test2.php?'.session_name().'='.session_id(), 'r'); ?> test2.php: <?php session_start(); ?> Calling 'test1.php' makes the server busy for the max_execution_time and then producing the message: Warning: fopen(http://cmit.dev.is-it-on.at/test2.php?PHPSESSID=d438afbea1645cab6e557bd7cb396165): failed to open stream: HTTP request failed! main:443 for SSL protocol L library ound (st in /daten/www-data/cmIT/htdocs/test.php on line 4 The part between 'HTTP request failed!' and 'in /daten/...' changes each time, sometimes producing somewhat looking like binary data. Changing test1.php to: $fp = fopen('http://domain.tld/test2.php', 'r'); doesn't cause any problems. The same, when using other GET-Params: $fp = fopen('http://domain.tld/test2.php?test=TRUE', 'r'); works also. I just compiled a new PHP, using the latest Snapshot, after reading the Bugreports #19051, #22937, #20759,..., but it seems to me, the problem is not exact the same: fopen works ALWAYS with 'normal' HTTP-URLs and NEVER works when adding the SessionID.