Reply to Re: php include question

Your name:

Reply:


Posted by Toby Inkster on 03/10/06 10:32

granpaw wrote:

> Can someone tell me if I have rename all the pages with a php ext. if I
> want to update them with and include?

No.

If you have access to your Apache configuration (httpd.conf or .htaccess
files) you should be able to set Apache to process files as PHP regardless
of their name.

For example, to tell Apache that all files with name matching "*.html" are
really PHP files:

AddType application/x-httpd-php .html

Or to tell it to treat one particular file as PHP:

<Files myfile.html>
ForceType application/x-httpd-php
</Files>

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[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

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