Forums
This topic is locked
Get variables from an IMG tag
Posted 13 May 2002 22:19:00
1
has voted
13 May 2002 22:19:00 David Behan posted:
I am setting up a new hosting affiliate system at the moment. The statistics records the sales on the basis of two variables from the querystring - amount and product. If only it was that easy. The hosting sign up system sends the details to my affiliate sales recording page in the form of an image. E.G.
<img src="www.mywebsite.com/aflog.asp?amount=300&product=windowshosting">
<b>QUESTION:</b> How the hell do I get the information out of that IMG tag and into my ASP/VBScript variables?
Any suggestions?
_________________________
David Behan - www.bmor.com
Replies
Replied 14 May 2002 01:04:26
14 May 2002 01:04:26 Matthijs Horsman replied:
Hi Bmor,
Maybe i am thinking to simple, but i think you mean is that when you click on the image, you go to the next page?
Then you can just do with <% =request.QueryString("amount"%> and the same for product, but i am not sure if that is what you mean...
If it is not, how did you get the variables in there?
So if you give me some more details, maybe(!) i can help...
Grrrr
Matthijs
----------------
UD4/WY2K/IIS/ASP-VB
Edited by - matthijshorsman on 14 May 2002 01:05:18
Maybe i am thinking to simple, but i think you mean is that when you click on the image, you go to the next page?
Then you can just do with <% =request.QueryString("amount"%> and the same for product, but i am not sure if that is what you mean...
If it is not, how did you get the variables in there?
So if you give me some more details, maybe(!) i can help...
Grrrr
Matthijs
----------------
UD4/WY2K/IIS/ASP-VB
Edited by - matthijshorsman on 14 May 2002 01:05:18
Replied 14 May 2002 02:46:18
14 May 2002 02:46:18 Andrew Watson replied:
Why an image Beano????
<img src=../images/dmxzone/forum/icon_smile_question.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile_question.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile_question.gif border=0 align=middle>
Cheers
Leed
:: Son, im Thirty.... ::
<img src=../images/dmxzone/forum/icon_smile_question.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile_question.gif border=0 align=middle><img src=../images/dmxzone/forum/icon_smile_question.gif border=0 align=middle>
Cheers
Leed
:: Son, im Thirty.... ::
Replied 14 May 2002 11:02:14
14 May 2002 11:02:14 David Behan replied:
We are using a system called H-Sphere for setting up our hosting accounts. It is a great system as we set up the plans for people to buy. Then we just link to them and people can sign up and the system will automatically set their account up and register their domain... everything. It's cool.
There is a affiliate tracking system within the program. I have read all documentation and they have built it to work with existing affiliate programs. These programs work on the basis of the details been sent to them in an image tag like above. I think what the system does is on the complete signup page, they put the image I specify (which is really an asp page with all the variables I need) into the last page, thus sending the details to my affiliate program.
I built the affiliate program myself and it works perfectly on the basis of request.querystring but I don't know how I get the details from this image tag when the complete sign up page requests the image. Do I still use the request.querysting or other? I have tried and tested a load of methods and can't get it working.
Any suggestions would be greatly appreciated.
Thanks
Dave
_________________________
David Behan - www.bmor.com
There is a affiliate tracking system within the program. I have read all documentation and they have built it to work with existing affiliate programs. These programs work on the basis of the details been sent to them in an image tag like above. I think what the system does is on the complete signup page, they put the image I specify (which is really an asp page with all the variables I need) into the last page, thus sending the details to my affiliate program.
I built the affiliate program myself and it works perfectly on the basis of request.querystring but I don't know how I get the details from this image tag when the complete sign up page requests the image. Do I still use the request.querysting or other? I have tried and tested a load of methods and can't get it working.
Any suggestions would be greatly appreciated.
Thanks
Dave
_________________________
David Behan - www.bmor.com