View Single Post
  #2 (permalink)  
Old Jul 8th, 2005, 12:35
D3mon D3mon is offline
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
Using ASP:

1. Get the other site to link to yours with a ref ID like:

http://[yourdomain]/[page].asp?ref=4

2. use request.querystring("ref") to get the number

3. use SELECT CASE to decide which logo to show depending on the number sent

4. use request.servervariables("HTTP_REFERER") to get the other webpage they came from

5. place the HTTP_REFERER value in the form as a hidden field
Reply With Quote