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 jojo on 11/07/10 11:59

Nospam wrote:

>>> I have a redirect in my htaccess to a php file, however I am trying to
>>> see if the redirect works from css, by this code
>>> body{background-image:url(http://www.example.com/redirect1.html); should
>>> redirect to (http://www.example.com/redirect1.php); but for some strange
>>> reason doesn't work in the css, does anyone know what is wrong?
>> Is http://www.example.com/redirect1.php an image, or is it an HTML page?
>>
>> If it's an image, it should become the page's background image. If it's
>> just an HTML page, as I suspect it is, then the browser will try to use
>> it as a background image but fail.
>
> It is an html page, is there any workaround to redirect to the html page
> without the browser failing?
>
I'm sorry, but how should this work? a browser cannot display a html
page as background-*image*...

 

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

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