PHP Classes

File: example

Recommend this page to a friend!
  Classes of CTAPbIu_MABP  >  mabp::request  >  example  >  Download  
File: example
Role: Example script
Content type: text/plain
Description: examples
Class: mabp::request
Validate HTTP request variable values
Author: By
Last change: examples added
Date: 15 years ago
Size: 1,126 bytes


Class file image Download

//to use this class try this

$_GET = array('array1'=>array('1','2','text'),'array2'=>array('qwerty','qwerty','qwerty'),'array3'=>'<qwerty>');

$gpc = new Request();

//you can write some exeption class to know what kind of error and where occured

// if you try

$_GET = array('q'=>'w\'e');

you will have [w'e] its not mistake becouse you should use mysql_escape_string() or something like this but not in this class but in class managing data base

$oldname = '897231612.343';




//or use 'getall' to define all $_REQUEST variables



For more information send a message to info at phpclasses dot org.