Closed Thread
Results 1 to 6 of 6

Thread: Dynamic Email insertion in HTML

  1. #1
    Gibster is offline Newbie
    Join Date
    Jul 2007
    Posts
    3
    Rep Power
    0

    Dynamic Email insertion in HTML

    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:

    "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:

    "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
    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='.$e mail.'" 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:

    "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

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Location
    Amherst, New York, United States
    Posts
    6,277
    Blog Entries
    26
    Rep Power
    20
    The code you posted above is correct, however, the variable [$email] must be incorrect. You need to do some fishing through your code to find the correct variable that corresponds to the email addresses.

  4. #3
    Gibster is offline Newbie
    Join Date
    Jul 2007
    Posts
    3
    Rep Power
    0
    Now, where would this variable be?? At their end... LinkConnector's end... ??? because I have no other code anywhere else with any variables... that is the only code I have...

    Let me know... just a bit confused.

    Thanks!!


  5. #4
    Join Date
    Jul 2006
    Location
    Amherst, New York, United States
    Posts
    6,277
    Blog Entries
    26
    Rep Power
    20
    Where do you get the email address from?

  6. #5
    Gibster is offline Newbie
    Join Date
    Jul 2007
    Posts
    3
    Rep Power
    0
    The user enters their email address here:

    Free Sweepstakes

    and then their email address and name are captured by aweber

    And linkconnector.com tracks the user when they click their activation email and are directed to the confirmation page, where the code I have posted has to go.

  7. #6
    Join Date
    Jul 2006
    Location
    Amherst, New York, United States
    Posts
    6,277
    Blog Entries
    26
    Rep Power
    20
    Try $_POST['from']

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. HTML Email CSS Priority Issue
    By da beast in forum HTML Programming
    Replies: 1
    Last Post: 06-24-2011, 09:04 AM
  2. Replies: 1
    Last Post: 05-31-2010, 02:08 AM
  3. c# dynamic html on runtime.
    By tikejhya in forum C# Programming
    Replies: 6
    Last Post: 02-10-2010, 05:37 AM
  4. Send HTML email with Text Boxes
    By pu8y in forum Visual Basic Programming
    Replies: 5
    Last Post: 09-03-2009, 02:03 PM
  5. Sending HTML Email With Relative URLs
    By Raja Sekharan in forum PHP Development
    Replies: 2
    Last Post: 07-26-2009, 06:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts