didnt know if it was possible to use $_SESSION vars in that function or any user defined functions for that matter...
----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, April 11, 2004 8:11 PM Subject: Re: [PHP] using $_SESSION inside of user functions > > //log function > > //writes log files > > > > function WriteLog($LogType){ > > switch($LogType: > > case "login": > > //use session vars here... > > ....} > > > > What is the question ? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php