Re: Empty $_SESSION and $_POST ??

From: Date: Mon, 22 Apr 2002 13:50:26 +0000
Subject: Re: Empty $_SESSION and $_POST ??
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-93996@lists.php.net to get a copy of this message
On Friday, April 19, 2002, at 09:41 PM, Andre Dubuc wrote:
Is there a way I can verify that (a) globals are off and (b) $_SESSION or $_POST are on? This probably what's happening -- I can't access the arrays at all -- so, I think that might be where the problem lies. The $vars still work though throughout all scripts.
$_SESSION and $_POST and other superglobals are already on all the time if you use PHP 4.1.x or later. Verify that globals are off by writing a script that checks the for the presence or the value of $variable and then pass "variable=1" or something on the querystring in your browser. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#93996) next »