str_replace performance in large mailing script
| From: | frederik feys | Date: | Sun, 24 Aug 2003 12:42:01 +0000 |
| Subject: | str_replace performance in large mailing script | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-160577@lists.php.net to get a copy of this message | ||
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 of including an modified template(with variables) in my
message part.
Thanks for any help!
Fred