Forum Moderators: coopster

Message Too Old, No Replies

Hotlink redirect

Trying to get some benefit from hot linking

         

jcmiras

2:36 am on Nov 4, 2006 (gmt 0)

10+ Year Member



Guys,

Need some help. This is what I wanted to happen;
Say, website 1 displays an image from my website, website 2. What I wanted to happen is that, when someone in website 1 click on the image, he will be automatically redirected to the webpage (in website 2) where that image is actually displayed

I`m not good in php script. Please help.

Thanks in advance.

eelixduppy

3:19 am on Nov 4, 2006 (gmt 0)



I'm not sure how you want to tie PHP into this, but to do this is relatively simple using HTML:

<a href="http://www.google.com"><img src="http://www.google.com/images/logo.gif" /></a>

Of course this is just an example, but I think you'll get the idea. If you decide you want to do something with this using PHP, maybe taking these images from a database or something, then please feel free to elaborate on what you are trying to accomplish and we'll see what we can cook up ;)

Good luck!