Hello, here is a description of the system and configuration:
OS: Fedora Core 3
Web-server: Apache2
PHP version: 5
relevant section of httpd.conf:
AddType application/x-httpd-php .html .htm .php
Code causing the problem:
<html>
<head>
<title>Test Page</title>
</head>
<body>
Before the script
<php?
echo "<br> inside the script";
?>
<br>After the script
</body>
</html>
The problem is that the php never gets processed. What is displayed is as follows:
Before the script
After the script
when I view the source from the browser it still has the php code in it.
Also, files with the extension .php work fine so long as there isn't any html befor the php. thanks for reading,
Chris