Hi Just like you have php code to include files <?php include("header.php"); ?> Code (markup): So, is there any code for html or any kind of javascript, because i dont want to have pages ending with .php Share your ideas Thanks
Nah, I think not. But you can use mod_rewrite via .htaccess to make .php pages to .html virtually, which means your codes in PHP will still work but what shows in URL is a .html, not sure though
you can embed php includes on html pages by adding the following code to your .htaccess file AddType application/x-httpd-php .html
really not sure what your actual question is.... if you want to remap the html file extension into the PHP framework then others have already answered. If you want to know if you can simply have server side includes in a true HTML file then the answer is yes but the server needs to support sHTML - in the old days it had to have the sHTML file extension but many have remapped them since then.