|
Posted by Dan on 10/08/96 11:59
Nospam wrote:
> I would like to redirect all links to the image (ideally within the window
> the image occupies) to my php file which is at
> http://www.example.com/redirect.php , still within my
> http://www.example.com/redirect.html page. I am unsure which is the best
> way to go through this
You can redirect an image, but only to another image, not an HTML page.
It would be all right to redirect it to a PHP document, if what the
PHP code does is output an image. Since the place you're referencing
the image is as the background image of a section of an HTML page, the
only thing that's appropriate to use there is another image.
Perhaps what you really are trying to do could be accomplished with a
different method, such as an iframe or a server-side include?
--
Dan
Navigation:
[Reply to this message]
|