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]
|