The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Two questions...
On some addresses on some sites i see that they dont have the php filename in the url such as this one:
http://www.rapmusic.com/rapmusic/con...ontent=artists noticed its ?content=artists instead of filename.php?content=artists... id like to know how to do that ____________________ Secondly on some download scripts (well most download scripts)... when you click a link to download a file it is not the path to the file on your server e.g. yourdomain.com/files/file.zip its sometimes: yourdomain.com/download.php?downloadid=1 How would i go about doing that? _____________ Thanks in Advance - miSt |
#2
|
||||
|
||||
whatever your default file name is set by your server.. name the PHP files that.. so default.php
then in the file just do this if($content=="this") { // stuff here } then http://www.yourdomian.com/?content=this should work. |
#3
|
||||
|
||||
but $content is a variable... what do you assign the variable?
- miSt |
#4
|
||||
|
||||
^bump
|
#5
|
||||
|
||||
In the example there by Neo $content is assigned the value that it is given in the URL:
ie /?content=artists Or showthread.php?action=showpost Where $action is the variable. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|