This is because your server is set up to parse .php files as php, and .html
files as html.

If you have access to your httpd.conf or whatever, you can set it to include
.html files in the php parsing. If not, you'll have to stick with calling
your php files .php.

HTH
Jon


-----Original Message-----
From: kaab kaoutar [mailto:[EMAIL PROTECTED]]
Sent: 15 February 2001 11:12
To: [EMAIL PROTECTED]
Subject: [PHP] stupid problem!


when i try the phinfo test in a php file it works!
however when i put it in an htm file it does not work :

<html><head><title>PHP Test</title></head>
<body>
<?php
phpinfo();
?>
</body></html>

It gives me a blank page

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


-- 
PHP General 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]

-- 
PHP General 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