Re: [PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)

2002-07-22 Thread Pete James
Evan Nemerson wrote: > > If you need register globals on for your old stuff, but want to write better > new code, you can just use in your new > stuff. You can't do this in a php file... by the time it gets to this line, it's too late. According to the set_ini function on php.net, register_glo

Re: [PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)

2002-07-22 Thread Evan Nemerson
If you need register globals on for your old stuff, but want to write better new code, you can just use in your new stuff. If you are trying to turn register_globals off for the whole system, make sure you're changing the right php.ini. phpinfo(); will give you the location where PHP looks f

Re: [PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)

2002-07-22 Thread 1LT John W. Holmes
> I notice the INSTALL file in 4.2.2 mentions that people "should write > their scripts to work with this [register_globals] turned off". Based > on what I've mentioned below, what can I do to conform to this statement > made by the PHP authors? From what I know about programming, I am > setting

Re: [PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)

2002-07-22 Thread Kristopher Yates
> >---John Holmes... > >- Original Message - >From: "Kristopher Yates" <[EMAIL PROTECTED]> >To: "php-general" <[EMAIL PROTECTED]> >Sent: Monday, July 22, 2002 3:51 PM >Subject: [PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2) &

RE: [PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)

2002-07-22 Thread Roedel, Mark A.
for he shall never cease LeTourneau University | to be entertained." Longview, Texas, USA | -- John Powell > -Original Message- > From: Kristopher Yates [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 22, 2002 2:52 PM > To: php-general > Subject: [PH

Re: [PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)

2002-07-22 Thread 1LT John W. Holmes
Upgrade and turn on register_globals in php.ini. ---John Holmes... - Original Message - From: "Kristopher Yates" <[EMAIL PROTECTED]> To: "php-general" <[EMAIL PROTECTED]> Sent: Monday, July 22, 2002 3:51 PM Subject: [PHP] upgrade 4.1.2 to 4.2.2 (passing

[PHP] upgrade 4.1.2 to 4.2.2 (passing vars problem with 4.2.2)

2002-07-22 Thread Kristopher Yates
Hi, I have been running 4.1.2 for a while with no problems. This morning, I downloaded 4.2.2, did a configure/make/make install. All seemed to have gone well. However, it broke all my sites that use PHP. Here is a description of how it appeared to be broken. This is just an example, as I