Basic question (?php not working in html)
| From: | Ira Mica | Date: | Thu, 10 Aug 2000 15:15:41 +0000 |
| Subject: | Basic question (?php not working in html) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11152@lists.php.net to get a copy of this message | ||
Hello,
I did try to find this in the FAQ or other places but didn't...
I just installed php4 (with apache on linux) and can get the following to
work:
if I create a file like test.php and put
<?phpinfo()?>
in it, going to myserver/test.php with a a browser shows phpinfo.
but if I try to do the following in an html file:
<HTML><BODY><?phpinfo()?></BODY></HTML>
nothing happens. That is the browser shows a blank screen.
Any idea why php might work in a php file and not in an
html file.
Thanx in advance.
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com