On Sun, 24 Aug 2003 15:38:13 +0100, you wrote:
>Second tip is that sprintf() should be faster than str_replace(). Compare:
>
>$text = "Hello %s";
>$name = "John";
>
>echo (str_replace ("%s", $name, $text));
>echo (sprintf ($text, $name));
Thinking about it, straight concatenation should be faster
On Sun, 24 Aug 2003 14:42:01 +0200, you wrote:
>I have a mailing script that sends individualised mails to users(some
>users even get more than one mail).
>I have a template html mail file. I individualise this by using
>str_replace function.
>It is really slow.
>Can anyone point me to some perf
Hi all,
I have a mailing script that sends individualised
mails to users(some users even get more than one mail).
I have a template html mail file. I individualise
this by using str_replace function.
It is really slow.
Can anyone point me to some performance tips?
I was thinking o
3 matches
Mail list logo