note 29573 deleted from function.func-get-args by bjori

From: Date: Tue, 25 Apr 2006 19:12:00 +0000
Subject: note 29573 deleted from function.func-get-args by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-109678@lists.php.net to get a copy of this message
Note Submitter: avenger at php dot net ---- I used this function make my classload function,look: <?php $classPath = "class/"; function loadclass() { global $classPath; $args = func_get_args(); foreach($args as $className) { $className = strtolower($className); if (file_exists("$classPath$className.php")) { include_once("$classPath$className.php"); } } } ?>

« previous php.notes (#109678) next »