note 38107 deleted from function.rand by felipe

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
Note Submitter: jbarbero at u dot washington dot edu 

----

to jordan at do not spam .com:

The image no-cache function is simpler if you just do:
<?
$junk = md5(time());
?>

Usage would be: <img src="image.gif?<?=$junk?>">

md5(time()) is more guaranteed to be unique, and it is faster than two md5 calls.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.