this is probably a very stupid question, but here it goes anyways... would it be possible to somehow access PHP header variables like the $_POST
variable for instance, from within a HTML page, using Javascript/jQuery?
The problem is that I have a site that uses a PHP CMS but the templating system uses .html
files and pre defined tags, so basically I would like to be able to use PHP on the HTML template files somehow.
I have tried all of the methods shown on this site, but my PHP seems to be showing up in the source of the page as an HTML comment, like so,
<!--php echo "hello world" -->
any idea how I can get around this problem?
Thanx in advance!