Enable filtering in screenshots.php

This commit is contained in:
Jonathan Ernst
2006-07-07 17:06:26 +00:00
committed by WineHQ
parent e1532f1b3c
commit 005ef5af93

View File

@@ -21,18 +21,11 @@
// application environment // application environment
include("path.php"); include("path.php");
require(BASE."include/incl.php"); require(BASE."include/incl.php");
require(BASE."include/filter.php");
require_once(BASE."include/screenshot.php"); require_once(BASE."include/screenshot.php");
require(BASE."include/application.php"); require(BASE."include/application.php");
require(BASE."include/mail.php"); require(BASE."include/mail.php");
$aClean = array(); //array of filtered user input
$aClean['sCmd'] = makeSafe($_REQUEST['sCmd']);
$aClean['iVersionId'] = makeSafe($_REQUEST['iVersionId']);
$aClean['sScreenshotDesc'] = makeSafe($_REQUEST['sScreenshotDesc']);
$aClean['iImageId'] = makeSafe($_REQUEST['iImageId']);
$aClean['iAppId'] = makeSafe($_REQUEST['iAppId']);
// we issued a command // we issued a command
if($aClean['sCmd']) if($aClean['sCmd'])
{ {