Reply to Re: standard coding...

Your name:

Reply:


Posted by Oli Filth on 09/29/90 11:37

d said the following on 16/01/2006 15:19:
> "David Haynes" <david.haynes2@sympatico.ca> wrote in message
> news:OHrxf.4737$08.1779@fe71.usenetserver.com...
>> There's nothing magical about any suffix - it's just what you tell the
>> server to be sensitive to. For example, I could change all the php files
>> to have a 'pre' suffix to indicate that these files are 'pre'processed
>> before displaying them.
>
> Unfortunately, as long as certain browsers take notice of suffixes, they are
> somewhat magical. Making sure your extensions match your content is one
> sure-fire way to get round that :)

That's not always possible, though. Yes, one could set up the server to
parse all .html requests as PHP, but what about dynamic images generated
by PHP? To "match" the suffix there, you'd need to set the server to
parse all .jpg, etc. files as PHP, which would be a sure-fire way to get
bizarre behaviour ;)



--
Oli

[Back to original 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

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