PHP Classes

File: generador/cab/incs/autocargador.php

Recommend this page to a friend!
  Classes of Jose Antonio Valle Minjares  >  PHP DAL Generator  >  generador/cab/incs/autocargador.php  >  Download  
File: generador/cab/incs/autocargador.php
Role: Auxiliary data
Content type: text/plain
Description: Configuration script
Class: PHP DAL Generator
Generate classes to access MySQL table records
Author: By
Last change:
Date: 7 years ago
Size: 364 bytes
 

Contents

Class file image Download
<?php
function __autoload($classname) {
    
    $directorys = array(
        'modelo/'
    );

    foreach($directorys as $directory)
    {
        if(file_exists($directory.$classname . '.php'))
        {
            $full_file = $directory.$classname . '.php';
            
            require_once($full_file);
            return;
        }            
    }
}
For more information send a message to info at phpclasses dot org.