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
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
> 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
>
>---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)
&
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
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
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
7 matches
Mail list logo