You are here: Re: redirect to a php file from htaccess « HTML « IT news, forums, messages
Re: redirect to a php file from htaccess

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация