PDA

View Full Version : How do I pass an image through a script?


Flite
09-11-2004, 08:00 PM
I am trying to setup a universal thank you page for my affiliates, so that they can send me subscribers, and receive credit for any sales these subscribers make.

In order for the affiliate to get get credit for these sales, the new subscriber has to be tagged with the affiliates id number.

Currently we just have our affiliates host a script on their site, and when the new subscriber is sent to the affiliates thank you page, a tiny image is loaded, which tags the subscriber with the affiliates id number.

Here is the coding we use for the image:

<img src="http://www.myaffiliateprogram.com/u/mindjolt/rep.asp?id=1001" alt="" width="1" height="1">

Now anytime a subscriber makes a purchase through our newsletter, affiliate 1001 receives a commission.

This system is working fine, however, we would like to make things easier on our affiliates and host a universal thank you page on our site. Ie all the scripts will point back to our thank you page.

Here is what I need to know:

How do I get the image to load through a script? I need for this value to be loaded:

<img src="http://www.myaffiliateprogram.com/u/mindjolt/rep.asp?id=1001" alt="" width="1" height="1">

Each affiliate will have a script that looks similar to the one below (I used generic values):

<form method="post" action="http://mysite.com/cgi-sys/FormMail.cgi"><div align="center"> <center><table width="350" border="0" cellspacing="0" bgcolor="#E7E7DE" bordercolor="#000000"><tr><td rowspan=3></td><td>Your Name:</td><td><input type="text" name="realname" size="24"></td></tr><tr><td>Your E-Mail:</td><td><input type="text" name="email" size="24"></td></tr><tr><td></td><td> <input type="submit" value="Subscribe!"></p> </td></tr></table> </center></div><input type=hidden name="subject" value="course"> <input type=hidden name="recipient" value="myemail"> <input type=hidden name="redirect" value="http://www.mysite.com"> <input type=hidden name="required" value="email,realname"> <input type=hidden name="missing_fields_redirect" value="http://www.mysite.com/6error.html"></form>


Thanks for any help guys.

Flite