Re: php 5.04 register_globals aint acting right.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux