Re: using $_SESSION inside of user functions

From: Date: Mon, 12 Apr 2004 00:23:48 +0000
Subject: Re: using $_SESSION inside of user functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-183134@lists.php.net to get a copy of this message
Andy B wrote:
//log function //writes log files function WriteLog($LogType){ switch($LogType: case "login": //use session vars here... ....}
Yes. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.general (#183134) next »