Hi Michael,

In my understanding, web server will involve php interpreter when the file
extension is specify.  Say, if a web server is configured to involve php
interpreter when the extension is php, then when the request file is php,
the php file's content will be interpreted.  So, I think your web server is
configured like this.  I believe it's normal behaviour in your case.
Please correct me if I've made anything wrong, thanks.

Cheers,
Jeffrey

"Michael T. Peterson" <[EMAIL PROTECTED]> ¦b¶l¥ó
news:[EMAIL PROTECTED] ¤¤¼¶¼g...
> When the following file, tmp.htm, is executed no output is produced.
>
> <html>
> <head>
> <title>Test</title>
> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
> </head>
> <body>
> <?php
>  echo '<p>hello world</p>';
> ?>
> </body>
> </html>
>
> However, when the name of the file is changed to tmp.php the expected
> output, 'hello world', is obtained.  Is this the correct behavior?  More
> specifically, is the php script not executed?
>
> Cheers,
>
> Michael

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to