Re: how to pass HTTP_SESSION_VARS to functions?
| From: | Max Derkachev | Date: | Mon, 13 Nov 2000 10:22:09 +0000 |
| Subject: | Re: how to pass HTTP_SESSION_VARS to functions? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-24942@lists.php.net to get a copy of this message | ||
Andrew Elliston wrote:
> common.inc contains the following:
>
> <?
> function check_session ($HTTP_SESSION_VARS["variable"]) {
> if ($variable=="test") return (TRUE);
> }
> ?>
why not :
function check_session ($variable) {
......
?
--
Best regards,
Max A. Derkachev mailto:kot@books.ru
Symbol-Plus Publishing Ltd.
phone: +7 (812) 265-0054, 265-1228, phone/fax: 567-8775
http://www.Books.Ru -- All Books of Russia