View Single Post
Old 11-28-2006, 05:10 PM   #15 (permalink)
Mihx
Lesbian porn rocks!
 
Mihx's Avatar
 
Join Date: Jan 2005
Location: Denmark
Posts: 7,456
Points: 2,187
Quote:
Originally Posted by JACOBKELL
Holy shit this is something what i was just need!Even i know programming in HTML and PHP i didnt know how to determine when to use HTML and when PHP for building sites.
Now i know how.Thank you rebel !
Just a few simple lines of PHP mixed into an otherwise completely regular HTML page/site can often make life a whole lot easier by providing some really great features you can't do with HTML.

Just remember to either use a .php extension on your pages (doesn't matter if some of them don't contain a single line of php, I think it makes sense to use the same extensions for all pages of a site) or set up your htaccess to parse php code on pages with a .html extension as erots showed.
As far as I'm aware it makes absolutely no difference to the search engines these days whether you use one or the other. I might have five years ago, but not anymore.
__________________

Mike's Porn Site Reviews - because reading is good for you... Or something like that. [For site owners: I'm currently not accepting new requests at MPSR, but requests are open at my new site here. Link trade requests also welcome.]
Mihx is online now   Reply With Quote Send a private message to Mihx