This topic is locked

PHP in HTM pages

1/19/2010 6:39:10 PM
PHPRunner General questions
D
dbex author

In the past I have found it useful to be able to run PHP snippets within an HTM(L) page by use of an .htacces file but this does not seem to work on the pages produced by PHPRunner5 and I was wondering if any one knew why?
My .htaccess contains the following
RemoveHandler .html .htm

AddType application/x-httpd-php .php .htm .html
The weird thing is that while the following code within an HTM page does not produce an error
<?php echo "HERE WE ARE"; ?>
it doesn't produce any output either.
I am baffled.
Annalise

Sergey Kornilov admin 1/20/2010

Use 'Insert PHP code snippet' function in Visual Editor for this purpose.

D
dbex author 1/20/2010



Use 'Insert PHP code snippet' function in Visual Editor for this purpose.


Thank you Sergey for your reply but I was really just wondering why the .htaccess handler code had no effect on the PHPR HTM pages when the rest of the file such as the mod-rewrites work fine ?
It has just got my curiosity going {{_}}
Annalise