|
Posted by Zareef Ahmed on 04/01/05 07:54
Hi Chris,
I tried to reproduce the problem with vertsoin 4.3.3 and 5, and its
working fine(producing same string).
If you have not find a bug in bug database why not submit a new bug?
anyway changing single quotes to double may help ;)
zareef ahmed
<?php if (CRYPT_MD5 == 1) { var_dump(crypt('rasmuslerdorf',
'$1$rasmusle$')); } ?>
On Apr 1, 2005 2:36 AM, Chris Francy <cfrancy@esd189.org> wrote:
> Hello all,
>
> I am hoping someone can point me in the right direction to resolving an odd
> bug. I tried searching the bugs database and groups, but I can't think of
> the terms to use while searching for my problem that the search system will
> accept.
>
> I have a script like the below, copied from the crypt manual page
> ---
> <?php if (CRYPT_MD5 == 1) { var_dump(crypt('rasmuslerdorf',
> '$1$rasmusle$')); } ?>
> ---
>
> On my main web server, which is running php 4.3.10 with apache this script
> produces the following when I view the page on the web
> ---
> string(13) "$1Hat1hn6A1pw"
> ---
>
> When I run the script from the command line [php test.php] on the exact same
> server I get
> ---
> string(34) "$1$rasmusle$rISCgZzpwk3UhDidwXvin0"
> ---
>
> I have also occasionaly seen some odd behavior where strings with dollar
> symbols $ in them won't print out correctly, but they have never seen that
> important.. Does anyone have any guesses, or hints about what the next step
> is to search for what is causing this odd behavior? Any suggestions about a
> better place to ask?
>
> Thanks for any help
>
> Chris Francy
> cfrancy@esd189.org
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Zareef Ahmed :: A PHP Developer in India ( Delhi )
Homepage :: http://www.zareef.net
Navigation:
[Reply to this message]
|