|
Posted by Nospam on 11/27/24 11:59
"Dan" <dan@tobias.name> wrote in message
news:1159528496.769509.67890@h48g2000cwc.googlegroups.com...
>
> 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
>
Is there an example of how I could do this with an i-frame or server side
include?
Navigation:
[Reply to this message]
|