NYCPHP Meetup

[nycphp-talk] relative newbie needs installation help

Kenneth Schwartz kenschwartz at nyc.rr.com
Tue Jun 4 15:59:38 EDT 2002


I think you're exactly right.  I am a relative newbie also and I had the
same problem.  I didn't realize at first that my local installation had a
default level of security that would require a more specific syntax for
variable declaration.


----- Original Message -----
From: "Hans Zaunere" <zaunere at yahoo.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Tuesday, June 04, 2002 3:10 PM
Subject: Re: [nycphp-talk] relative newbie needs installation help


>
> My first guess is it's a register_globals problem.  register_globals is
> turned off by default in 4.2.1.  CGI vs Apache module shouldn't make a
> difference in this case (I'm assuming you are only using the basic
> variables, such as the post,get,server variables).
>
> As a quick fix, goto your php.ini and find the register_globals
> directive, changing it to 'On'.  If this works, let us know; if not,
> what specific variables does it report it can't find/are undefined?
>
> Hans Z.
>
>
> --- Michael Southwell <southwell at dneba.com> wrote:
> > I have some scripts that are working beautifully on the host but are
> > not
> > working on my localhost installation (which I thought I had gotten
> > working):  PHP 4.2.1 running under Apache 1.3.24 on Windows XP.  The
> > problem comes in recognizing variables locally, so I get "undefined
> > variable" and "undefined constant" messages.  PHPInfo() tells me that
> > my
> > local Server API is CGI, while on the host it's Apache.  I am
> > guessing that
> > this is the cause of the problems, though I don't really understand
> > the
> > difference.  Can anybody offer an explanation/possible solution?
> > TIA.
> >
> > Michael G. Southwell =================================
> > DNEBA Enterprises
> > 81 South Road
> > Bloomingdale, NJ 07403-1425
> > 973/492-7873 (voice and fax)
> > southwell at dneba.com
> > http://www.dneba.com
> > ======================================================
> >
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http://fifaworldcup.yahoo.com
>
>





More information about the talk mailing list