aruncourage Posted April 29, 2010 Share Posted April 29, 2010 Dear friends AddType application/x-httpd-php .html .htm The above code is my .htaccess file .. The below code is my html file <html> <head></head> <body> <h1> <?php echo "I LOVE PHP!"; ?> </h1> </body> </html> In that file , i have written the php scripit... I wants add the php code in html file. Many forums do like that way . but i didn't get result of echo statement. I am trying for that three hours...Please please help me. Thank you :confused: Link to comment https://forums.phpfreaks.com/topic/200139-php/ Share on other sites More sharing options...
cags Posted April 29, 2010 Share Posted April 29, 2010 Does your server allow AddType directives from within .htaccess? Also is PHP actually enabled on the server? Link to comment https://forums.phpfreaks.com/topic/200139-php/#findComment-1050468 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.