RE: [PHP] stupid problem!
| From: | Jon Haworth | Date: | Thu, 15 Feb 2001 12:14:35 +0000 |
| Subject: | RE: [PHP] stupid problem! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-39889@lists.php.net to get a copy of this message | ||
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:kaab_k@hotmail.com]
Sent: 15 February 2001 11:12
To: php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net