Re: [PHP] Extension problem

2004-04-05 Thread Duncan Hill
On Monday 05 April 2004 10:37, Enrico Comini wrote: I use php without problem, but my file is processed by php only if the extension is .php , why ? If I have for example a index.html with ?php at the beginning , this file is not parsed by php and I have to rename in index.php Thanks, Enrico

Re: [PHP] Extension problem

2004-04-05 Thread Kim Steinhaug
In other words you could say that if youd like the HTML files to be parsed as PHP files you would need to change the mapping on the server, eg. AddType application/x-httpd-php .php AddType application/x-httpd-php .html the second line would tell apache to run html files as php files. You could

RE: [PHP] extension problem

2002-07-04 Thread joakim . andersson
You probably shoul start here: http://www.php.net/manual/en/zend.php /Joakim -Original Message- From: adelpfephp [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 04, 2002 4:34 PM To: php-france; [EMAIL PROTECTED] Subject: [PHP] extension problem -- PHP General Mailing List