Quote:
Originally Posted by harmor19
PHP Code:
if($_GET['act'] == "mods")
{
echo "List mods";
if($_GET['do'] == "download")
{
echo "download mod ID: ".$_GET['modid'];
}
}
|
Thanks, I really appreciate it, and the "List mods" will be shown everywhere isn't it?
Quote:
Originally Posted by AN-net
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.
|
What's the difference between $_GET and $_REQUEST?