rename the .html file to .php
& use mod rewrite
or goto Cpanel>> ApacheHandlers & you'll understand what to do.
i want to use sea html version
so how to add php codes(smaato or other php ad codes) in .html file
i tried adding
RemoveHandler .html .htm
AddType application/x-httpd-php .php .html .htm
in .htaccess but its not working
[Only registered and activated users can see links. Click Here To Register...]- Get Real High Traffic
[Only registered and activated users can see links. Click Here To Register...]-Fun 4 Wap
rename the .html file to .php
& use mod rewrite
or goto Cpanel>> ApacheHandlers & you'll understand what to do.
Last edited by iBeyond; 08-10-11 at 11:24.
Changing file extension is useless. (it only slow down your site)
You can use mod rewrite for seo urls : /profile/mcdonald/photos or else is only a waste of time.
<?php unlink('World/Europe/Romania.country'); ?>
lol simply use
<?
Your php code here
?>
ohhh ****tt!
first check yourself this code using extension as .html and then LOL :POriginally Posted by irfiii [Only registered and activated users can see links. Click Here To Register...]
yes my mistake ! Sorry i read this @topic after posting reply..
hehehe lol
it should beOriginally Posted by slowy [Only registered and activated users can see links. Click Here To Register...]
if you need PHP only on one *.html page,Code:AddType application/x-httpd-php .html
then maybe this would be better option
but keep in mind...Code:<Files pagename.html> AddType application/x-httpd-php .html </Files>
anything in your *.html document that starts
with <? will be executed as PHP now,
and btw... avoid short PHP tag like irfiii has posted
always use
PHP Code:<?php
echo 'full PHP tag';
?>
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
when i try to open file then its saying to save the file instead of opening in browserOriginally Posted by metulj [Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]- Get Real High Traffic
[Only registered and activated users can see links. Click Here To Register...]-Fun 4 Wap
fix header...Originally Posted by slowy [Only registered and activated users can see links. Click Here To Register...]
キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt.
ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ !
ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks