Php inside Html static page
Posted: Mon Nov 07, 2011 1:51 am
Hi everyone,
Just simply question if anyone can help me...
what i need is a simply way to put php code into .html page
-------------
<?php
// Requiring file
require_once ("config/con_db.class.php");
require_once ("function/function.php");
require_once ("class/pagination.class.php");
/** Connect to database */
$connect = new db();
/** Include the header */
require_once ("templates/header.php") ?>
MY CONTENT CONTENT HERE THEN
<?php include('templates/footer.php'); ?>
-----------------
I don“t want change mod_rewrite and .htaccess, it's just a simple way to call this commands from html
thanks
Edilson
Just simply question if anyone can help me...
what i need is a simply way to put php code into .html page
-------------
<?php
// Requiring file
require_once ("config/con_db.class.php");
require_once ("function/function.php");
require_once ("class/pagination.class.php");
/** Connect to database */
$connect = new db();
/** Include the header */
require_once ("templates/header.php") ?>
MY CONTENT CONTENT HERE THEN
<?php include('templates/footer.php'); ?>
-----------------
I don“t want change mod_rewrite and .htaccess, it's just a simple way to call this commands from html
thanks
Edilson