Access PHP header variables using Javascript/jQuery
<p>this is probably a very stupid question, but here it goes anyways... would it be possible to somehow access PHP header variables like the <code>$_POST</code> variable for instance, from within a HTML page, using Javascript/jQuery?</p>

<p>The problem is that I have a site that uses a PHP CMS but the templating system uses <code>.html</code> files and pre defined tags, so basically I would like to be able to use PHP on the HTML template files somehow.</p>

<p>I have tried all of the methods shown on <a href="http://www.seodenver.com/use-htaccess-to-make-all-your-html-files-php/" rel="nofollow">this</a> site, but my PHP seems to be showing up in the source of the page as an HTML comment, like so,</p>

<pre><code>&lt;!--php echo "hello world" --&gt;
</code></pre>

<p>any idea how I can get around this problem?</p>

<p>Thanx in advance!</p>
