Its simply a Boolean to indicate whether or not a query should be ran and displayed, and further more its for a small intranet. Register_globals is the directive I meant to say. But your right about globals. Some applications haven't made that change yet... So unless I want to rewrite them (which is time consuming if you didn't originally write the thing) I need to enable it. I have the directive in my php.ini, which is defaulted to the %systemdir% in windows... But it certainly isn't registering them... I can easily write an include and stick in to mimic the behaviour.. but was wondering if anyone else ran into these issues. -----Original Message----- From: Jochem Maas [mailto:jochem@xxxxxxxxxxxxx] Sent: Tuesday, August 16, 2005 7:27 AM To: Daniel Baughman Cc: php-general@xxxxxxxxxxxxx Subject: Re: php 5.04 register_globals aint acting right. Daniel Baughman wrote: > > > > > > > > > > > I have register globals enabled, or set to "On". Isn't this suppose to > take all of the $_POST variables and $_GET variables and make initialize > them by name? register_globals should do that. but not "register globals", regardless is a shitty setting. don't use it. besides its depreciated just use $_POST['whatever'] > > i.e. $_POST['runquery'] will be accessible via simply $runquery looks like you are stuffing SQL into a GET/POST param - sure you want to do that? > > ?? > > > Dan Baughman > IT Technician > Professional Bull Riders, Inc. > 719-471-3008 x 3161 > > CONFIDENTIAL, FOR DESIGNATED RECIPIENTS ONLY: The preceding e-mail message > (including any attachments) contains information that may be confidential, > privileged, or non-public information. It is intended to be conveyed only to > the designated recipient(s) named above. If you are not an intended > recipient, please notify the sender by replying to this message and then > delete all copies of it from your computer system. Any use, dissemination, > distribution, or reproduction of this message by unintended recipients is > not authorized and may be unlawful. DISCLAIMER OF ELECTRONIC TRANSACTION: > This communication does not reflect an intention by the sender to conduct a > transaction or make any agreement by electronic means. Nothing contained > herein shall constitute an electronic signature or a contract under any law, > rule or regulation applicable to electronic transactions. > > > -- 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