Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Web Design, HTML And CSS Forums (http://www.go4expert.com/forums/web-design-forum/)
-   -   Email in HTML as a Dynamic Link (http://www.go4expert.com/forums/email-html-dynamic-link-t5159/)

Gibster 9Jul2007 10:30

Email in HTML as a Dynamic Link
 
Hi Guys!

I have opened an account with a merchant network and I have not been able to launch my campaign because I am supposed to dynamically insert an email address behind this so called OID=

Below I am posting the correspondence between the support person from this network and myself, and hopefully I can get someone here to help me and finally show me what I need to do:

Email #1:

"
Quote:

Hi Gibster,

I’m not sure if you do the coding for your site yourself or have someone do it for you. You get an email address when a user subscribes to your program. What you would need to do is dynamically place that field behind the “oid=” in the LinkConnector code. It might look similar to this:

<img src="http://www.linkconnector.com/traffic_merchant.php?lc=000000001583&amt=&oid=<customer_email_adress>" border="0" width="1" height="1">

Hope this helps. Thanks!
My reply to email #1:

"
Quote:

Hi David,

I posted the same thread in wickedfire.com and I got a reply that I should put this code in the confirmation page:

PHP Code:

<?php
if (isset($_POST['submit'])) {
if (
strlen($_POST['email']) > 0) {
$email strip_tags($_POST['email']);
print 
'<img src="http://www.linkconnector.com/traffic_merchant.php?lc=000000001583&amt=&oid='.$email.'" border="0" width="1" height="1">';
}
}
?>
<form action="" method="post">
<input type="text" name="email" value="" /><br />
<input type="submit" name="submit" value="Submit" />
</form>

I have just done that, I think this may be it… could you please check now, if it works then we can finally launch the campaign and I’ll know what to do for future ones!!

Cheers

Gibran
"


Then he replied to me that I almost had it and suggested this...

His last reply below:

"
Quote:

Hi Gibran,

I know you have got to be frustrated and I wish I knew the answer for you.

IT looks like you have ‘.$email.’ for the OID but that does not seem to be working . I would guess it might not need the periods before and after the “$email” as I don’t see that anywhere else in your code. Or it might be that you need to put in [‘email’] behind the “oid=”. If that does not work perhaps a combination of the two might work.

I know AWebber has a support staff. What are they telling you?

Thanks!
"

I tried both of his suggestions, and this still did not work! :( So if anyone here knows what to do and can help me find the solution to my woes, I would be so very grateful!!

:)

Looking forward to your reply(ies)

Cheers
Gibster

shabbir 9Jul2007 10:43

Re: Email in HTML as a Dynamic Link
 
Please use the proper bbcode for correct formating of the posts.

Gibster 11Jul2007 11:46

Re: Email in HTML as a Dynamic Link
 
Thanks for fixing my post Shabbir...

Anyone here able to help?? Thanks!

pradeep 11Jul2007 13:31

Re: Email in HTML as a Dynamic Link
 
The code looks OK to me, except for that you don't have any validation for the email address format.

Gibster 12Jul2007 11:58

Re: Email in HTML as a Dynamic Link
 
And how do I do that... what do you mean?? I am still lost and somewhat ignorant about all this. How do I validate the email address format?


All times are GMT +5.5. The time now is 19:34.