View Single Post
Old 06-05-2003, 11:37 PM  
michaelw
Confirmed User
 
Join Date: May 2002
Location: Calgary, Canada
Posts: 1,342
there are 2 ways to redirect
1) headers
2) a redirect via the html file (meta refresh/java/whatever)

1 will not work, as headers for the page are already sent. you cannot redirect the site once the page is loaded, since headers are already received. if you redirect via a header for the image, lets say to http://www.site.com/, then http://www.site.com will be img src'ed.

2 will not work, as since the tag is <img..>, the browser will interpret any data sent as the image; and not as html
__________________
<b><a href="http://www.hotlinkprotector.com"><font color="yellow">Hotlink Protector</font></a> - Protect all your file types from hotlinking the professional way. <br>
See a demo <a href="http://www.hotlinkprotector.com/demo.html"><font color="yellow">here</font></a>, and testimonials <a href="http://www.hotlinkprotector.com/testimonials.html"><font color="yellow">here</font></a><br>ICQ: 146423631
michaelw is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote