Re: using $_SESSION inside of user functions
| From: | Andy B | Date: | Mon, 12 Apr 2004 00:23:19 +0000 |
| Subject: | Re: using $_SESSION inside of user functions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-183132@lists.php.net to get a copy of this message | ||
didnt know if it was possible to use $_SESSION vars in that function or any
user defined functions for that matter...
----- Original Message -----
From: <daniel@electroteque.org>
To: <php-general@lists.php.net>
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
>