Login   Register  
PHP Classes
elePHPant
Icontem

File: config.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of SaphirAngel  >  Input validation  >  config.inc.php  >  Download  
File: config.inc.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: Input validation
Validate request values of different types
Author: By
Last change:
Date: 2012-11-14 15:46
Size: 434 bytes
 

Contents

Class file image Download
<?php
/**
 * User: SaphirAngel
 * Date: 17/09/12
 * Time: 19:08
 * Fichier de configuration
 */

//Security flag
define ('HTML_SECURE'1);
define ('SQL_SECURE'2);

//Basic check flag
define ('NOT_EMPTY'6);
define ('NOT_NULL'4);
define ('CHECK'8);
define ('NUMERIC'16);

define ('EXCEPTION_IF_BASIC_CHECK_ERROR'false);
define ('DEFAULT_FLAG'NOT_EMPTY NOT_NULL );

define ('ACCEPTED'1);
define ('NOT_ACCEPTED'2);