#21886 [NoF->Opn]: parameters sometimes not submitted
| From: | technik at infoworxx dot de | Date: | Fri, 14 Feb 2003 10:21:09 +0000 |
| Subject: | #21886 [NoF->Opn]: parameters sometimes not submitted | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33161@lists.php.net to get a copy of this message | ||
ID: 21886
User updated by: technik@infoworxx.de
Reported By: technik@infoworxx.de
-Status: No Feedback
+Status: Open
Bug Type: Class/Object related
Operating System: Linux 7.2
PHP Version: 4.3.0
New Comment:
I am sorry, actually I do not have time, I hope I can give you an
example in the next two days - sorry for that (but your first reply
took more than two days :-).
But - it is NOT an misunderstanding how sessions work. I am using
sessions since the beginning of PHP 4 and the same code is running
under 4.2.3 perfect.
Regards,
Sebastian
Previous Comments:
------------------------------------------------------------------------
[2003-02-13 12:40:12] sniper@php.net
wayne@ptaff.ca: Please open your own report about this,
seems like the original reporter of this bug is not
responding and your problem seems a bit different.
(IMO, neither of these are bugs, just misunderstanding how sessions
work)
------------------------------------------------------------------------
[2003-02-13 11:04:18] wayne@ptaff.ca
Ooops! I please forgive my mistake, in my last post, switch the call
from:
$bar->myecho("apple, orange");
to:
$bar->myecho("apple", "orange");
------------------------------------------------------------------------
[2003-02-13 11:00:57] wayne@ptaff.ca
Here is an example.
class foo {
// constructor, etc.
function myecho($string1, $string2) {
echo "String 1: " . $string1 . "\n";
echo "String 2: " . $string2 . "\n";
}
};
$bar = new foo();
$bar->myecho("apple, orange");
Will output one of these 3 possibilities, at random (or so it seems:)
String 1: apple
String 2: orange
String 1: orange
String 2:
String 1:
String 2:
Weird, eh? and rerunning the same code does not always give the same
results.
I guess it's clearer now.
------------------------------------------------------------------------
[2003-02-13 02:01:03] sniper@php.net
Please provide a complete but short example
that _clearly_ shows the problem.
------------------------------------------------------------------------
[2003-01-31 11:25:29] wayne@ptaff.ca
With multiple parameters too, creates trouble. Using 2 parameters,
sometimes only the second one is passed... as the first!
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21886
--
Edit this bug report at http://bugs.php.net/?id=21886&edit=1