LeoMoon Studios, LeoMoon Designs, Demo Reels, Projects, LeoMoon OS

Tutorials - Web

Using PHP in a .html extension

August 14, 2006

In order to use php codes in a page with an extension other than .php, you need a server that supports .htaccess files.

What you have to do is to create or edit the ".htaccess" file in the folder and add this line to it:
AddType application/x-httpd-php .html .htm

What does that code do?
That code will tell your server to search for php code(s) in .html and .htm files and execute them (only the folder and it's subfolder that has that edited ".htaccess" file).

So now if you go to that html file that contains php codes, it will be shown exactly like as if it was a php file...

Twitter Logs

LeoMoon QuickTweak is in Private Beta.

After 1 month of none stop coding, LeoMoon QuickTweak is finished. 1 more day of testing and it will be available to the public. Stay tuned.

LeoMoon Persian TTT is featured at Software Informer and is being used by 255 users of Software Informer. http://bit.ly/8Zc6WL

67,800 search results for "Persian TTT"! STILL being downloaded 70+ times a day!

The development of LeoMoon QuickTweak will continue in 1 hour.

LeoMoon QuickTweak Feature Preview: http://www.youtube.com/watch?v=WfyUPVJfPnI

Love is Comix is 4th link in Google with "love is comics", "love is... comics" and 9th with "love is comic strips" search term.

5 artists faved LeoMoon lmEyeMaker! http://www.creativecrash.com/maya/downloads/scripts-plugins/rendering/misc/c/leomoon-lmeyemaker

275 Love is... comic strips [updated daily at midnight]: http://loveiscomix.com

LeoMoon QuickTweak 70% done! This program will be VERY flexible to be used at large scale for automation, deployment & setup... Stay tuned.