bruce wrote:

> hi...
> 
> doing some testing with linux sha1sum, and php's sha1 function... are
> they both supposed to return the same results for the same chunk of
> text.
> 
> test
> 
> file "a.dat" = "1234567890"
> 
> linux:
>  echo a.dat > sha1sum -t    != php <? sha1("1234567890"); ?>
> 
> any thoughts...

Try "echo -n"


/Per

-- 
Per Jessen, Zürich (3.4°C)


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

Reply via email to