[imp] Rendering-problem with multipart-mails

Chuck Hagenbuch chuck at horde.org
Tue Jul 6 02:09:57 UTC 2010


Quoting Michael Gröne <michael.groene at zew.uni-hannover.de>:

> I tested the following script on our developement-system (physically  
> real) and on the productive-version (virtual machine):
>
> ----
> <?php
> echo microtime();
> echo "<br>";
> echo microtime();
> ?>
> ----
>
> On the developement-system the two values are *always* different, on  
> our productive system they are always the same - it makes me wonder  
> why.
>
> My workaround is to call usleep(1) before calling microtime(), which  
> results in an unique Content-ID for HTML- and other Parts.
>
> Have you a less dirty solution? ;)

microtime() . mt_rand() - does that work?

If so, what virtualization software are you using? If this is a common  
thing, please submit a patch.

-chuck


More information about the imp mailing list