PHP Classes

File: examples/user/config.php

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/user/config.php   Download  
File: examples/user/config.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 422 bytes
 

Contents

Class file image Download
<?php
ini_set
('error_reporting', E_ALL);
#ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . '../../');

function dump($var='', $name='') {
    static
$output = '';
       
    if (
$var) {
       
$output .= '<div style="clear:both; background:#f2f2f2; border:1px solid #ddd; padding:10px;">';
       
$output .= $name . '<pre>' . print_r($var, 1) . '</pre>';
       
$output .= '</div>';
    } else {
        echo
$output;
    }
}