Re: [PHP] #exec and php together From: Paolo Ciraci (ciraci <email protected>)
Date: 07/03/01

> The problem with this is that, by default, Apache will ONLY parse
> PHP code if the extension matches the PHP extension in
> httpd.conf. You could add .htm and .html to that extension match
> if you'd like, and that could possibly do it.

No, that is not the problem.

I don't want the .htm file parsed by Apache server.
I want to include the output of php into an html file.

I've also tried to specify the full path of php executable into
hello.htm with the following:

<!--#exec cgi="/usr/local/bin/php -q /v/www/hello.php" -->

without success.

Dr. Paolo Ciraci
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Responsabile Sistemi Informativi webmaster <email protected>
Nautica Editrice S.r.l. http://www.nautica.it
Via Tevere 44, Roma - tel 06 8413060

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>