Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 13th, 2003, 06:03 AM
fakker fakker is offline
The calm b4 the storm
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Manchester, UK
Posts: 404 fakker User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 17
Send a message via Yahoo to fakker
Question .html?0,,113,,3345 ?? how does that work?!!

this might seem a funny question.... but having only really used PHP, ASP and some CGI, I am confused as to how sites like cnet etc use HTML pages for content..... for example, the hyperlink looks like

http://computers.cnet.com/hardware/....html?tag=glnav

how do HTML pages or code use the ?tag=glnav to put content on the pages?

I would have thought that only server side scripts can do this.... maybe I am getting the wrong end of the stick... but I think I need this clearing up for me!!

thanks!!
__________________
Matt 'Fakker' Facer

mattfacer.com

Reply With Quote
  #2  
Old May 13th, 2003, 09:52 AM
stumpy's Avatar
stumpy stumpy is offline
May contain nuts.
Dev Articles Regular (2000 - 2499 posts)
 
Join Date: Aug 2002
Posts: 2,056 stumpy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 44 m 22 sec
Reputation Power: 0
The glnav value looks like it's a chooser for the nav template, or something along those lines. CNET's content is handled thru the actual filename. It is possible to serve dynamic content with an .htm extension using a few techniques... one is to use a parser to alter the filename being served using an Apache module called mod_rewrite - there's an article on this site about it, here. If you have a close look @ the devarticles site, you'll notice they use it too (the articles appear to sit in their own directories, when in fact they're being served from a file which would look something like: articles.php?articleid=111). Most people use this technique to optimise search engine's picking up their site's pages.

There are other ways to do it using CGI - but i dunno the details...

Reply With Quote
  #3  
Old May 13th, 2003, 01:32 PM
Vince Vince is offline
LordNitrous
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: England
Posts: 134 Vince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
yeah I have wondered that too, your explanation made no sense to me but I get the jist. It is like PHP Dynamic sites using ?id=pagename.php
__________________
You don't deserve to read my signature...yeah! That's it, keep walking...yeah walk away from me! That's it! Get out of my pub, you're barred!

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > .html?0,,113,,3345 ?? how does that work?!!


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap