PHP Classes

File: Vourto/bin/example4.php

Recommend this page to a friend!
  Classes of Mauro Junior  >  Vourto  >  Vourto/bin/example4.php  >  Download  
File: Vourto/bin/example4.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Vourto
Validate request values of different types
Author: By
Last change:
Date: 5 years ago
Size: 462 bytes


Class file image Download

require_once "../autoload.php";


$create = Prop::exec(
"profile" => array(
"id" => array(
"minlegth" => array("value" => 4, "callback" => "ID must be at least 4 characters"),
"type" => array("value" => "numeric", "callback" => "ID must be numerical"),
"callback" => "ID cannot be empty"
header("location: example3.php?id={$_GET["id"]}");



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