You are here: Re: Form spam? What to do? « HTML « IT news, forums, messages
Re: Form spam? What to do?

Posted by cwdjrxyz@yahoo.com on 12/25/43 11:26

cwdjrxyz@yahoo.com wrote:

> I started
> out by writing two pages of the type something.xhtml and
> something.html. My server is set to deliver .xhtml with the mime type
> application/xhtml+xml. It is set in the usual way for the .html
> extension to deliver text/html. You can connect to a short redirect
> page that will allow you to select either the something.xhtml or
> something.html page. Most of the modern browsers can use either, but
> IE6 is the exception that can not use the something.xhtml page.
> Although I have plenty of storage on the server for near-duplicate
> pages, I find that I do not have to use this method for any browser of
> interest to me. However, if I ever have a problem, there are several
> things you can fall back on such as duplicate pages, selection of a
> range of q allowed, etc.

Another page I have with the php include is
http://www.cwdjr.info/media/playersRoot.php . I still have an earlier
version with a short redirect page that I mentioned at
http://www.cwdjr.info/media/playersConnect.html . This page uses the
Windows conditional comment that only IE and close relatives see to
automatically direct IE browsers to a .html page served as text/html.
If you do not have a IE browser then you can select the link for newer
browsers that is a .xhtml page served as application/xhtml+xml . Or you
can select the link for older browsers that might not support true
xhtml, which takes you to the same .html page as does the automatic
redirect for IE browsers. Of course if you have problems with the
..xhtml page, you can also go back and select the .html page route. So
you see, even if I found a situation where I could not or did not want
to use the php include, I always could use this redirect page method
for a special case.

 

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

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