[PHP-DB] variables gone?

2002-05-29 Thread Rob Fraser

Dear All,
I am probably doing something silly but I don't know what (story of my
life). I have just upgraded to 4.2.1 and now all the variables I post in
forms or in query strings are now coming up undefined errors and are in
absent. I'm running PHP under IIS 4.
What am I doing wrong?

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] variables gone?

2002-05-29 Thread Ed Gorski

In php.ini you need to turn register_globals on..you also might want to 
start using the $_GET, $_POST, $_SESSION global arrays

ed

At 02:49 PM 5/29/2002 +0100, Rob Fraser wrote:
Dear All,
I am probably doing something silly but I don't know what (story of my
life). I have just upgraded to 4.2.1 and now all the variables I post in
forms or in query strings are now coming up undefined errors and are in
absent. I'm running PHP under IIS 4.
What am I doing wrong?

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP-DB] variables gone?

2002-05-29 Thread Mark Roedel


Beginning in PHP 4.2.0, the normal behavior with respect to preloaded
variables was changed (specifically, the default value of the
register_globals configuration entry was changed from on to off).

For details, see
http://www.php.net/manual/en/language.variables.predefined.php


---
Mark Roedel   | Blessed is he who has learned to laugh
Systems Programmer|  at himself, for he shall never cease
LeTourneau University |  to be entertained.
Longview, Texas, USA  |  -- John Powell


 -Original Message-
 From: Rob Fraser [mailto:[EMAIL PROTECTED]] 
 Sent: Wednesday, May 29, 2002 8:49 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] variables gone?
 
 
 I am probably doing something silly but I don't know what (story of
 my life). I have just upgraded to 4.2.1 and now all the variables I
 post in forms or in query strings are now coming up undefined errors 
 and are in absent. I'm running PHP under IIS 4.

 What am I doing wrong?

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php