Re: [PHP] Comparing of string

2006-01-04 Thread Raz
I would guess that the '&' in $_GET['formCheck'] will cause problems... Trying your code without the ampersand as in: $_GET['formCheck'] = 'ZL0X~TT4PQ%0~R0OXPRUHY7E!4~W337J71V4WDDI6$GS9480XP0TNP2I$1YX75S' It works just fine. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Comparing of string

2006-01-04 Thread Jeremy Privett
janbro wrote: Hi Jeremy, I tried if ( strcmp( trim($SollKombination), trim($formCheck) ) ) same negativ result. For some reason both strings are not considered to be the same. They have the same length, are of the same type and have the same content. Why PHP doesn't recognize them as beeing e

Re: [PHP] Comparing of string

2006-01-04 Thread janbro
Hi Jeremy, I tried if ( strcmp( trim($SollKombination), trim($formCheck) ) ) same negativ result. For some reason both strings are not considered to be the same. They have the same length, are of the same type and have the same content. Why PHP doesn't recognize them as beeing equal I don't

Re: [PHP] Comparing of string

2006-01-03 Thread Jeremy Privett
janbro wrote: Hello List I've got the following little code: $formCheck= $_GET['formCheck']; $SollKombination = $_SESSION['zufall']; echo "$SollKombination$formCheck"; print gettype($formCheck);

Re: [PHP] Comparing of string

2006-01-03 Thread janbro
., non-printing) characters, and > the like. > > Hope this helps. > > Jon > > > - Original Message - > From: "janbro" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, January 03, 2006 11:22 PM >

Re: [PHP] Comparing of string

2006-01-03 Thread Jon Westcot
- Original Message - From: "janbro" <[EMAIL PROTECTED]> To: Sent: Tuesday, January 03, 2006 11:22 PM Subject: [PHP] Comparing of string > Hello List > > I've got the following little code: > > $formCheck= $_GET['formCheck&#

[PHP] Comparing of string

2006-01-03 Thread janbro
Hello List I've got the following little code: $formCheck= $_GET['formCheck']; $SollKombination = $_SESSION['zufall']; echo "$SollKombination$formCheck"; print gettype($formCheck);