#21886 [Com]: parameters sometimes not submitted

From: Date: Fri, 31 Jan 2003 17:25:29 +0000
Subject: #21886 [Com]: parameters sometimes not submitted
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31776@lists.php.net to get a copy of this message
ID: 21886 Comment by: wayne@ptaff.ca Reported By: technik@infoworxx.de Status: Open Bug Type: Class/Object related Operating System: Linux 7.2 PHP Version: 4.3.0 New Comment: With multiple parameters too, creates trouble. Using 2 parameters, sometimes only the second one is passed... as the first! Previous Comments: ------------------------------------------------------------------------ [2003-01-26 07:52:28] technik@infoworxx.de Hi @all, I have just mentioned a strange behaviour of PHP 4.3.0. At first of all: I have recompiled my hole config with PHP 4.2.3 and my program runs - without any change - fine ! Just have a look at the source: In index2.phtml: ----- $dummy="index2.phtml?step=printchecklist&mode=".$mode."&besuchid=".$besuch_id."&hid=".$form_hid."&sessvalid=".$s_sessvalid; if ($debug) @error_log("Redirect [origin=checklist] to: ".$dummy,0); $session->redirectTo($dummy); ----- in my Session-Class: ----- function redirectTo($pathInfo) { if ($this->debug) @error_log("SESSION [redirectTo]: Parameter: ".$pathInfo,0); [.......] } ----- and now my error-log: ----- [Sun Jan 26 14:24:43 2003] [error] Redirect [origin=checklist] to: index2.phtml?step=printchecklist&mode=&besuchid=&hid=16&sessvalid=951227295 [Sun Jan 26 14:24:43 2003] [error] SESSION [redirectTo]: Parameter: ----- The Parameter given to $session->redirectTo will not be recieved by the function. When I try this several times (my "$dummy" does NOT !!! change) after the second or the third try it works. Again - with 4.2.3 and excatly the same config *everything* is fine. Regards, Sebastian ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21886&edit=1

« previous php.bugs (#31776) next »