Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Patrick JL Laso  >  jlaso PHP tools  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example of use
Class: jlaso PHP tools
General purpose collection of PHP classes
Author: By
Last change:
Date: 2 months ago
Size: 299 bytes
 

Contents

Class file image Download
<?php

error_reporting
E_ALL & ~E_NOTICE & ~E_DEPRECATED );

define ("_ROOT_"dirname(__FILE__));
define ("_SERVER_""http://".$_SERVER['SERVER_NAME'].'/'.basename(_ROOT_)."/");

@
define ("__DIR__",dirname(__FILE__));
require_once 
__DIR__.'/config.php';

require_once 
__DIR__.'/php-tools.php';