make use of $_POST and $_GET instead of $HTTP_POST_VARS and $HTTP_GET_VARS which are deprecated

This commit is contained in:
Jonathan Ernst
2004-12-19 17:43:46 +00:00
committed by WineHQ
parent 31459341ef
commit 8968a68033
11 changed files with 18 additions and 18 deletions

View File

@@ -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'];