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
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
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
janbro wrote:
Hello List
I've got the following little code:
$formCheck= $_GET['formCheck'];
$SollKombination = $_SESSION['zufall'];
echo "$SollKombination$formCheck";
print gettype($formCheck);
Yep, they are of the same length.
here they are:
$SollKombination
ZL0X~TT4PQ%0~R0OXPRUHY7E&!4~W337J71V4WDDI6$GS9480XP0TNP2I$1YX75S
$formCheck
ZL0X~TT4PQ%0~R0OXPRUHY7E&!4~W337J71V4WDDI6$GS9480XP0TNP2I$1YX75S
When creating the string on the form page only visible characters were allowed.
thanks bu
Hi JanBro:
Quick guess: are the strings the same length? I've been bitten many
times by string comparisons that appear to be identical but which fail due
to trailing spaces, other "invisible" (i.e., non-printing) characters, and
the like.
Hope this helps.
Jon
- Original Me
6 matches
Mail list logo