[Fwd: Re: [PHP] PHP not working in html]

2002-12-20 Thread Dries Verachtert
You can also change the apache config to use php for .html pages. example in apache 2.0.x: ... normal stuff like documentroot, servername, .. SetOutputFilter PHP SetInputFilter PHP Or globally in the /etc/httpd/conf.d/php.conf, add a: SetOutputFilter PHP SetInputFilter P

Re: [PHP] PHP not working in html

2002-12-20 Thread Dries Verachtert
You can also change the apache config to use php for .html pages. example in apache 2.0.x: ... normal stuff like documentroot, servername, .. SetOutputFilter PHP SetInputFilter PHP Or globally in the /etc/httpd/conf.d/php.conf, add a: SetOutputFilter PHP SetInputFilter PHP

Re: [PHP] PHP not working in html

2002-11-12 Thread 1LT John W. Holmes
> PHP isn't working in my html docs - what changes do I need to make to get it > to do so? Does it need to be recompiled? Can I do it without re-compiling? Give your file a .php extension, maybe? ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

Re: [PHP] PHP not working in html

2002-11-07 Thread Jason Wong
On Friday 08 November 2002 05:35, Mike At Spy wrote: > There isn't any .htaccess file in the directory - I added one with the line > you specified, and my directory comes up with a 'server misconfiguration > error'. Any other ideas? :) You may have to put it inside a directory container: A

RE: [PHP] PHP not working in html

2002-11-07 Thread Mike At Spy
There isn't any .htaccess file in the directory - I added one with the line you specified, and my directory comes up with a 'server misconfiguration error'. Any other ideas? :) Thanks! -Mike > > > In your .htaccess file remove anything that looks like this: > AddHandler server-parsed .html

Re: [PHP] PHP not working in html

2002-11-07 Thread Kevin Stone
In your .htaccess file remove anything that looks like this: AddHandler server-parsed .html And add this line: AddType application/x-httpd-php .php .htm .html Do a search for "parse html php" for more help. -Kevin - Original Message - From: "Mike At Spy" <[EMAIL PROTECTED]> To: <[EMAIL

Re: [PHP] PHP not working in html

2002-11-07 Thread Marco Tabini
What extension are your files? Your web server is probably not set up to handle your files as PHP files. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmer Come visit us at http://www.phparch.com! --- Begi