PHP Classes

File: config.inc.php

Recommend this page to a friend!
  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: Update of config.inc.php
Date: 2 months ago
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);