I have found myself trying to execute PHP tags within an XSL file again. I was told in another forum that this will do it.
In HTACCESS:
AddHandler application/x-httpd-php5 .xsl
It does not work for me.
I would like to place a "php includes statement" for my menus.
Code:
<ul>
<li><a href="/index.php?page=index">Home</a></li>
<li><a href="/index.php?page=pricing">Pricing</a></li>
<li><a href="/index.php?page=memos">Memos</a></li>
<li><a href="/index.php?page=forms">Forms</a></li>
<li><a href="/index.php?page=sales">Sales Support</a></li>
</ul>
Code:
<?php include($_SERVER['DOCUMENT_ROOT'] . '/includes/menu.php'); ?>
What am I missing here?