Re: Storing CCN's Again...
| From: | Greg Donald | Date: | Tue, 08 Feb 2005 17:48:02 +0000 |
| Subject: | Re: Storing CCN's Again... | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208270@lists.php.net to get a copy of this message | ||
On Tue, 8 Feb 2005 09:23:46 -0800 (PST), Richard Lynch <ceo@l-i-e.com> wrote:
> There's no guarantee that will re-use the same bytes for the new string in
> the low-level C malloc/alloc/???alloc calls, I don't think...
Your right. In fact this script proves just how wrong I was:
#!/usr/bin/php
<?php
$cc = '1234123412341234';
$cc = md5( time() );
echo
cat /dev/mem | strings | grep "^1234123412341234$";
?>
--
Greg Donald
Zend Certified Engineer
http://destiney.com/