RE: [PHP] NULL Apache environment variables

2002-02-19 Thread Ford, Mike [LSS]
> -Original Message- > From: Erik Price [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 18, 2002 5:58 PM > To: Lars Torben Wilson > > Hm? I didn't think that this was the case -- I thought that although > there is a long-term move to making 'register_globals = off' default, > regis

RE: [PHP] NULL Apache environment variables

2002-02-18 Thread Narvaez, Teresa
, February 18, 2002 6:45 PM To: Narvaez, Teresa Cc: [EMAIL PROTECTED] Subject: Re: [PHP] NULL Apache environment variables On Monday, February 18, 2002, at 06:11 PM, Narvaez, Teresa wrote: > The function call phpinfo() shows register_globals=off for master and > local > value on my s

Re: [PHP] NULL Apache environment variables

2002-02-18 Thread Erik Price
On Monday, February 18, 2002, at 06:11 PM, Narvaez, Teresa wrote: > The function call phpinfo() shows register_globals=off for master and > local > value on my system. I installed PHP and did not change anything because > I > do not know enough to make changes so I believe off is the default >

RE: [PHP] NULL Apache environment variables

2002-02-18 Thread Narvaez, Teresa
[mailto:[EMAIL PROTECTED]] Sent: Monday, February 18, 2002 5:58 PM To: Lars Torben Wilson Cc: Narvaez, Teresa; [EMAIL PROTECTED] Subject: Re: [PHP] NULL Apache environment variables On Monday, February 18, 2002, at 05:44 PM, Lars Torben Wilson wrote: > On Mon, 2002-02-18 at 08:56, Narvaez, Ter

Re: [PHP] NULL Apache environment variables

2002-02-18 Thread Lars Torben Wilson
On Mon, 2002-02-18 at 14:58, Erik Price wrote: > > On Monday, February 18, 2002, at 05:44 PM, Lars Torben Wilson wrote: > > > On Mon, 2002-02-18 at 08:56, Narvaez, Teresa wrote: > >> Hello, > >>I'm running PHP version 4.1.1. When I invoke this function, >> phpinfo()?>, all variables are s

Re: [PHP] NULL Apache environment variables

2002-02-18 Thread Erik Price
On Monday, February 18, 2002, at 05:44 PM, Lars Torben Wilson wrote: > On Mon, 2002-02-18 at 08:56, Narvaez, Teresa wrote: >> Hello, >> I'm running PHP version 4.1.1. When I invoke this function, > phpinfo()?>, all variables are set. However, when I try to retrieve a >> value >> of a ce

Re: [PHP] NULL Apache environment variables

2002-02-18 Thread Lars Torben Wilson
On Mon, 2002-02-18 at 08:56, Narvaez, Teresa wrote: > Hello, > I'm running PHP version 4.1.1. When I invoke this function, phpinfo()?>, all variables are set. However, when I try to retrieve a value > of a certain variable like this: > > > > It returns NULL. Is there a missi

RE: [PHP] NULL Apache environment variables

2002-02-18 Thread Narvaez, Teresa
PROTECTED] Subject: Re: [PHP] NULL Apache environment variables Have a look at the function getenv().. eg: $ip = getenv ("REMOTE_ADDR"); // get the ip number of the user HTH Neil "Narvaez, Teresa" wrote: > Hello, > I'm running PHP version 4.1.

Re: [PHP] NULL Apache environment variables

2002-02-18 Thread Neil Freeman
Have a look at the function getenv().. eg: $ip = getenv ("REMOTE_ADDR"); // get the ip number of the user HTH Neil "Narvaez, Teresa" wrote: > Hello, > I'm running PHP version 4.1.1. When I invoke this function, phpinfo()?>, all variables are set. However, when I try to retr