PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Joseluis 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: Update of example.php
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';