Reply to Re: [PHP] php 5.04 register_globals aint acting right.

Your name:

Reply:


Posted by Jochem Maas on 08/16/05 17:27

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.
>
>
>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация