Re: invoking the PHP engine on a single .html file
| From: | Justin French | Date: | Tue, 17 Dec 2002 04:08:04 +0000 |
| Subject: | Re: invoking the PHP engine on a single .html file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128507@lists.php.net to get a copy of this message | ||
a .htaccess file in your document tree, anywhere above the file in question
<Files name-of-your-html-page.html>
ForceType application/x-httpd-php
</Files>
(assuming apache server)
on 17/12/02 2:38 PM, Krzysztof Wozniak (kwozniak@fas.harvard.edu) wrote:
> Is there any possibility to invoke the PHP engine on a single, specific
> file? I mean, I know I can ask PHP politely to treat every .html file as
> a PHP file, but it will slow down the whole server. Can the PHP engine
> be invoked locally (by folder) or preferably on a single file?
>
> Thanks,
>
> Krzysztof
>
>
Justin French
--------------------
http://Indent.com.au
Web Development &
Graphic Design
--------------------