As mentioned in my first email, PHP and myself think turning the global
var reg off is a good thing, especially for inexperienced coders and var

$email = $_POST['email'] makes a difference is you are dealing with an
application that was built during the 90% of PHP's lifetime where reg
global vars was turned on and you want to use that application with your
server where with 4.3.2 - it is turned off.

Basically $_POST['email'] is already referred to as $email in thousands
of lines of code and instead of trying to convert them (legacy
application), you just use the extract function.

Hope that is a bit clearer.

- Paul

-----Original Message-----
From: John W. Holmes [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 28, 2004 2:21 PM
Cc: 'Mignon Hunter'; [EMAIL PROTECTED]
Subject: Re: [PHP-DB] php-db globals turned off

Paul Miller wrote:
> Also, many legacy applications use the non $_POST variable 
> definitions. A problem that I ran into.

So how is saying

$email = $_POST['email']

going to help you in that case??

---John Holmes...

Amazon Wishlist:

php|architect: The Magazine for PHP Professionals -

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to