note 37780 deleted from function.md5 by mazzanet
| From: | mazzanet@php.net | Date: | Sun, 12 Jun 2005 22:39:35 +0000 |
| Subject: | note 37780 deleted from function.md5 by mazzanet | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-90331@lists.php.net to get a copy of this message | ||
Note Submitter: steven at netconcepts dot com
----
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.