Jump to content

Recommended Posts

I received an html email today with a stock photo of a cab door. On the cab door was a personalized greeting with my bosses name. This email was clearly sent using listserv of some sort. Can I write a PHP function that will achieve this?

I look forward to hearing from all!

Sara
[!--quoteo(post=379409:date=Jun 2 2006, 01:32 PM:name=poirot)--][div class=\'quotetop\']QUOTE(poirot @ Jun 2 2006, 01:32 PM) [snapback]379409[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Well, you can modify an image using PHP's GD functions
[a href=\"http://www.php.net/gd\" target=\"_blank\"]http://www.php.net/gd[/a]
[/quote]

OK, so I should be able to send one dynamic e-mail to let's say 300 recipiants and the php code will be able to read the resipiants first name, and then display an image that reads "hello mike," or "hello pat,", etc.?
Well, for that you can embed a variable into the link, like:
[a href=\"http://www.example.com/card.php?recipient=mike\" target=\"_blank\"]http://www.example.com/card.php?recipient=mike[/a]

Then use something like:
$text = 'Hello, ' . $_GET['recipient'];
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.