note 29572 deleted from function.func-get-args by avenger

From: Date: Tue, 18 Feb 2003 01:36:22 +0000
Subject: note 29572 deleted from function.func-get-args by avenger
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-44124@lists.php.net to get a copy of this message
I used this function make my classload function,look: $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 (#44124) next »