The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using $_GET
I want to know how to make those PHP links like:
index.php?page=hello index.php?page=player&id=747 etc.. Someone please tell me how, and if there is another way other than $_GET, then please tell me. I'm not a beginner, but teach me as a beginner please. |
#2
|
||||
|
||||
do you want to know how read it into the php file or how to make a link to a php file?
also you made a contradiction, you are beginner or you aren't. you can't be both, sry |
#4
|
|||
|
|||
Quote:
Quote:
You got it, OK now teach me the HARD WAY! And can you also tell me how can I use the CASE and ARRAY |
#5
|
|||
|
|||
|
#6
|
|||
|
|||
Thanks Marco, but can anyone also tell me how can I do the sub sub pages, like index.php?act=mods&do=download&modid=45
__________________ One extra thing, what is "global $anything, $anothervar" I read about it and it's: An associative array containing references to all variables which are currently defined in the global scope of the script. The variable names are the keys of the array. So I wanted to know what's the use of it? |
#7
|
|||
|
|||
Just create if branches in your script:
|
#8
|
|||
|
|||
I didn't understand what you meant!
|
#9
|
||||
|
||||
if($_REQUEST['modid'] == 46)
{ do something; } if($_REQUEST['page'] == "home) { do something else; } please though run your data through the vbulletin GPC if your using vbulletin or sanatize incoming data. |
#10
|
|||
|
|||
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|