make use of $_POST and $_GET instead of $HTTP_POST_VARS and $HTTP_GET_VARS which are deprecated
This commit is contained in:
@@ -9,7 +9,7 @@ $topNumber = 25;
|
||||
$categoryId = "any"; /* default to all categories */
|
||||
|
||||
/* process the post variables to override the default settings */
|
||||
if($HTTP_POST_VARS)
|
||||
if($_POST)
|
||||
{
|
||||
if(isset($_POST['topNumber'])) $topNumber = $_POST['topNumber'];
|
||||
if(isset($_POST['categoryId'])) $categoryId = $_POST['categoryId'];
|
||||
|
||||
Reference in New Issue
Block a user