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 <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> My html file, test.htm, looks like this:
>
> <html>
>     <head>
>         <title>Example</title>
>     </head>
>     <body>
>
>     <?php print( "Hello" ); ?>
>
>     </body>
> </html>
>
> It doesn't print anything while the php file, test.php, print Hello on the
> screen.
> The test.php looks like this:
>
> <?php print( "Hello" ); ?>
>
> In this case, do I need to change my php.int file as you said?
>
> Thank you for the help.
>
> -Cho
>
>
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to