Forum Moderators: open
I am bit confused, that i visited most sites and seen that their url include like [domain.com...]
or
[domain.com...]
and they excute the query well.
I just want to know how we can create such type of queries using HTML language.
I know most of the people also want to know this theory.
regards,
smartseo
AddHandler application/x-httpd-php .html It is not a good idea to do so if the majority of your .html pages are true static content, but if most of your site is dynamically-generated, it can make sense. It removes the technology identifier from your URLs and means that you can more easily alter the underlying language and keep the same URL structure. I generally use .htm everywhere even if my pages are almost always generated with PHP.
(Okay, to a certain degree you could also do this sort of thing with javascript but it's nowhere near as elegant or practical.)
Just because a page has an .htm or .html extension doesn't mean that what you're actually looking at is actually a HTML page, a lot of the time the webserver has just been setup to make it look that way for the sake of simplicity.
There are lots of ways to learn PHP if that's the route you want to take, I'm sure the PHP forum [webmasterworld.com] here has advice on more than a few of them in its library section [webmasterworld.com].
- Tony
or if you just want to get dynamic functionality in apparently static looking pages then "what encyclo said" :)