The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
what does " forumdisplay.php?f=92" do?
When I place my cursor to a site, the address display from browser shows something like:
hhtp://www.vbulletin.org/forum/forumdisplay.php?f=92 how does the "f" and "92" passed to the forumdisplay.php? I know "f" and "92" are not php variables since they don't have $ sign in front of it. Where can I read something to understand the internals and be able to trace the forumdisplay.php program (i.e. what happens after the "92" assigned to "f", which part of the php received the value 92 etc). This may look like a simple question, but I could not find an answer. Thank in advance for answering. |
#2
|
||||
|
||||
f is short for 'forumid' and 92 is the forumid number. So, that url gives you the forumdisplay page for forumid 92.
|
#3
|
|||
|
|||
Anything passed through the request url can be read as a variable in PHP. As Lynne stated, forumdisplay.php is utilizing the f=42 in the URL to process what forum to display.
Are you looking for more specifics? |
#4
|
|||
|
|||
actually he mean more than the protocol, but how the info is parsed in the url...
your documentation will start here: http://ca3.php.net/manual/en/languag...s.external.php |
#5
|
|||
|
|||
nexialys, thank you for the link. The article of the link says:"GET also applies to the QUERY_STRING (the information after the '?' in a URL).".
However, I could not find _GET in the forumdisplay.php, there is no query_string in forumdisplay.php either. So I am still not sure how the "f" and "92" are passed to the php script. |
#6
|
|||
|
|||
you will have to read about this in global.php, where all these pre-selected variables are already checked... also, $_GET, $_POST and $_FILE are already parsed on the engine called GPC >> /includes/class_core.php...
helping you more on this would be to explain to you the classes, OOP and possibly all the structure of vBulletin, so maybe you will have to read by yourself! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|