[PHP-INST] Re: php code inside html doesn't work

2001-11-30 Thread Fred
I mentioned the wrong ini file. To get this to work you need to edit your httpd.conf file. Find the line that looks similar to this: AddType application/x-httpd-php .php and change it to look like this: AddType application/x-httpd-php .php .htm .html and all should be fine Fred Byunsung Cho <

[PHP-INST] Re: php code inside html doesn't work

2001-11-29 Thread Byunsung Cho
My html file, test.htm, looks like this: Example It doesn't print anything while the php file, test.php, print Hello on the screen. The test.php looks like this: In this case, do I need to change my php.int file as you said? Thank you for the help. -Cho

Re: [PHP-INST] Re: php code inside html doesn't work

2001-11-29 Thread Chris
Greetings, > What do you mean by php code inside an html file? Do you mean that the > file has an html extension (e.g. index.html)? If that is the case then > you need to change your php.ini file to indicate that all html files > should be processed by php. Alternately, you could just change t

[PHP-INST] Re: php code inside html doesn't work

2001-11-29 Thread Fred
What do you mean by php code inside an html file? Do you mean that the file has an html extension (e.g. index.html)? If that is the case then you need to change your php.ini file to indicate that all html files should be processed by php. Alternately, you could just change the extension to .php