From:             [EMAIL PROTECTED]
Operating system: Linux 7.2
PHP version:      4.3.0
PHP Bug Type:     Class/Object related
Bug description:  parameters sometimes not submitted

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 bug report at http://bugs.php.net/?id=21886&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21886&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21886&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21886&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21886&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21886&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21886&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21886&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21886&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21886&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21886&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21886&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21886&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21886&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=21886&r=gnused

Reply via email to