You are here: Re: PHP with no file extension « PHP Programming Language « IT news, forums, messages
Re: PHP with no file extension

Posted by matthom@gmail.com on 09/30/06 22:55

If you want to have other file extentions treated as PHP, you can
simply use this line, as you suggested:

AddType php-cgi .html .htm .xml

For this example, html, htm, and xml files are treated as PHP.


Benjamin wrote:
> Hi, I'm running PHP as an Apache module. I've always wondered how you
> set Apache up to parse a file as PHP without a file extension. Do you
> use the AddType directive?

 

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

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