コード例 #1
0

/***
 *** Sanitize
 ***/

if (isset($_REQUEST["customer_id"])) {
    $customer_id = $parse->id($_REQUEST["customer_id"]);
    $error->check();
}
if (isset($_REQUEST["customer_name"])) {
    $customer_name = $parse->id($_REQUEST["customer_name"]);
    $error->check();
}
if (isset($_REQUEST["customer_password"])) {
    $customer_password = $parse->password($_REQUEST["customer_password"]);
    $error->check();
}
if (isset($_REQUEST["consumer_group"])) {
    $consumer_group = $parse->select($_REQUEST["consumer_group"], $array_consumer_group);
    $error->check();
}
if (isset($_REQUEST["max_gbytes"])) {
    $max_gbytes = $parse->max_gbytes($_REQUEST["max_gbytes"]);
    $error->check();
}
if (isset($_REQUEST["compression"])) {
    $compression = $parse->select($_REQUEST["compression"], $array_compression);
    $error->check();
}
if (isset($_REQUEST["disk_path"])) {