note 37780 added to function.md5
| From: | steven at netconcepts dot com | Date: | Wed, 26 Nov 2003 21:14:35 +0000 |
| Subject: | note 37780 added to function.md5 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-61008@lists.php.net to get a copy of this message | ||
A possible work around I have found for issues with perl and php md5 sums not being compatible is to
create a small php command line program alone the lines of
#!/usr/local/bin/php -q
<?
print md5($argv[1]);
?>
and then calling that script from within perl using backticks
$md5 =
/bin/md5.php 'string to md5';
Seems to work fine handling all characters I've thrown at it so far and it has the added
benefit of being compatible with MySQL md5 sums.
----
Manual Page -- http://www.php.net/manual/en/function.md5.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+37780
Delete -- http://master.php.net/manage/user-notes.php?action=delete+37780&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+37780&report=yes
Search -- http://master.php.net/manage/user-notes.php