[PHP] PHPSESSID AND SID

2003-07-30 Thread Daryl Meese
This should be a simple question but I can't find the answer in the manual. is it necessary to global variables or constants in functions? i.e. function Foo() { global $PHPSESSID; global SID; // how would you do that anyway? } Thanks in advance Daryl -- PHP General Mailing List

Re: [PHP] PHPSESSID AND SID

2003-07-30 Thread Hank TT
: Wednesday, July 30, 2003 12:59 PM Subject: [PHP] PHPSESSID AND SID This should be a simple question but I can't find the answer in the manual. is it necessary to global variables or constants in functions? i.e. function Foo() { global $PHPSESSID; global SID; // how would you do that anyway