homepage Welcome to WebmasterWorld Guest from 54.211.157.103
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Html Pages but Dynamic
how create html pages as dynamic
smartseo




msg:589705
 7:54 pm on Nov 19, 2004 (gmt 0)

Hello,

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

 

encyclo




msg:589706
 8:18 pm on Nov 19, 2004 (gmt 0)

You can easily map .html pages server-side to be parsed for PHP, ASP or whatever technology you prefer. The method depends on the platform you are using, but for example if you are using Apache, you can simply add the following line to your root-level .htaccess:

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.

Dreamquick




msg:589707
 8:21 pm on Nov 19, 2004 (gmt 0)

Assuming you're talking about "blah.htm?12" and "blah.htm?14" producing different pages then generally it isn't HTML that does this, it's server-side scripting like PHP or ASP which allows the dynamic creation of HTML content.

(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" :)

smartseo




msg:589708
 9:17 am on Nov 20, 2004 (gmt 0)

Well thanks for your cooperation.

But i need to MAP asp pages and my hosting platform is Windows 2003 server,so what should i do with it to convert in htm or html.

I just want to hide my original fils.

waiting to c u around.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved