Add php code into html for lunarpage.com
July 25th, 2008 — adminAdd php code into html for lunarpage.com linux host.
try this line in a blank .htaccess
AddType application/x-httpd-php php html
Add php code into html for lunarpage.com linux host.
try this line in a blank .htaccess
AddType application/x-httpd-php php html
AddType application/x-httpd-php5 .html .htm .php
AddHandler application/x-httpd-php5 .html .htm .php
<?php
$hotel=” How to study PHP “;
$hotel= trim($hotel);
$array=explode(” “, $hotel);
$hotel=implode(”-”, $array);
echo ($hotel);
?>
Open init.php, between
$db->SetFetchMode(ADODB_FETCH_ASSOC);
read_config($db);
add MySQL_query(”SET NAMES ‘latin1′”);
let them becomes: Read the rest of this entry »
can build many web sites, with one web host, one site with one different domain, just using php, it can make you very happy, save your money.
$arrays=array(
’www.money.com’=>’money/index.html’,
’www.insurance.com’=>’insurance/index.html’,
’www.car.com’=>’car/index.html’,
’www.travel.com’=>’travel/index.html’,
’127.0.0.1’=>’forum/index.php’,
);
$url = $arrays[$_SERVER[’HTTP_HOST’]];
Header(”Location: $url”);
?> Read the rest of this entry »
If you want to make more money and profit from your affiliate links, you need to display them in different way. Don’t use the default link generated by your affiliate program script. Instead, hide it by using PHP file.