![]() |
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 :D ____________________ 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 |
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. |
but $content is a variable... what do you assign the variable?
- miSt |
^bump
|
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. |
All times are GMT. The time now is 03:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|