On 10/13/05, Graham Anderson <[EMAIL PROTECTED]> wrote:

>   $realcmd =  decrypt($cmd);
[...]
>      elseif(decrypt($cmd) == $realcmd)

That's obviously going to succeed no matter what $cmd decrypts into.
It doesn't really tell you anything useful.

>   $realcmd =  decrypt($cmd); // 'makesmil'
[...]
>      if( decrypt($cmd) == 'makesmil')

If this really fails, it means that $cmd doesn't decrypt into
'makesmil'.  Are you sure that it's not been padded with spaces or
something?

 -robin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to