|
||||||||||
|
|||||||
| GoogleCommunity Sponsor |
Use coupon "forum" for 50% Off! |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Googler
![]() |
what does "C=M;O=D" mean?
I've seen this string - "C=M;O=D" - appended to many URLs which are browsable. what does that signify? coz I've seen other browsable URLs which don't have this appended to them..
[btw, by browsable I mean their directory contents are visible] |
|
|
|
|
Sponsored Links
|
|
|
|
#2 (permalink) |
|
Googler
![]() |
k.. this's kinda weird coz I posted the question and now I'm posting the answer too
took a while to figure this out. "C=M;O=D" is the query string passed in to the URLs that are browsable. it's used to sort the files list. O is the sort order, which can either be A or D for ascending and descending respectively. C is for column name which's to be sorted. It can take the following values: N - Name (file name) column M - Last Modified column S - Size column D - might be for Description, but havent tried it for example: http://somesite/folder/?C=N;O=A would return the files list sorted by their file names in ascending order not sure if C and O take other values. neither do I know if this's server specific. I'd be glad if someone could clarify that. |
|
|
|
|
|
#3 (permalink) |
|
Noogle
![]() Join Date: Jul 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
![]() |
you're right! and i know the rest just FYI!
Those are basically parameters sent to the server as part of your query (which you found on your own). Those are website-specific parameter names (C and O), so I guess you see them often either because they are convention or because those websites' creators used a similar program to build the websites. I'm not entirely sure, but another reason you see them often might be because usually when a user queries for columns, the server is passing the query to some database, usually in SQL syntax. That C=M and O=A stuff might just correspond with the SQL command to sort the database query results, which would make coding the interface between the server and the database somewhat easier. I hope this helped, and I hope it's not erroneous. I don't know for sure about the SQL stuff, but the first part should be right!
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Microsoft says Google success a "wake-up call" - Scientific American | News Alerts | Google in the News | 0 | 02-27-2007 05:37 PM |
| <META http-equiv="Pragma" content="no-cach | Sopit | Search Engine Optimization Forum | 3 | 10-18-2006 05:20 AM |
| Is Gamail acount ending with "@gmail.com" or" | wanliju | Gmail Forum | 14 | 10-07-2005 03:51 AM |
| <meta name="robots" content="ALL"> | Sopit | Search Engine Optimization Forum | 9 | 09-19-2005 12:52 PM |
| "Labels" feature has a problem, "Labels" | jovanni | Gmail Forum | 2 | 05-18-2005 01:21 PM |