<?php
/*
* Copyright (c) SAFAROFF Creative Agency
* Coded: Agshin Y. Khaligov & Ismayilzadeh Zulfugar
*/
require("SaffRequest.class.php");
$request = new Request();
//POST Request example
$request->POST__examplename;
// 'examplename' is example key of POST array
//GET Request example
$request->GET__examplename;
// 'examplename' is example key of GET array
//FILES Request example
$request->FILES__examplename;
// 'examplename' is example key of FILES array
//If you don't know request type, can easy handle the value.
$request->examplename;
// 'examplename' is example key of unknown type Request array
//POST Request filter with Regulat Expression
$request->POST("/^[0-9]/");
// In this case you get values from POST array witch begins with number.
//GET Request filter with Regulat Expression
$request->GET("/^[0-9]/");
// In this case you get values from GET array witch begins with number.
//Unknow type Request filter with Regulat Expression
$request->REQUEST("/^[0-9]/");
// In this case you get values from unknown type Request array witch begins with number.
?>
|