I have a very strange problem. I installed a new XAMPP distribution yesterday and it behaves very strangely.
I have two files, page.php and include.php.
"page.php" has the following code:
<? include('include.php'); ?>
The file "include.php" has the following line:
<? echo "it works"; ?>
Now: If I open start.php in my web browser, it shows me an empty page, and the source code reads:
<html>
<head>
</head>
<body>
<!--? echo "it works"; -->
</body>
</html>
As you see, the php code on the start.php is interpreted correctly, but the php-code on include.php is parsed as a comment?!?!
I have a XAMPP server on Mac OS 10.9.4. And OF COURSE I have
short_open_tag = On
Thanks for your help! Matt