[PHP-WIN] Re: Undefined variable

2005-02-16 Thread Jim Plush
testing "Louis Young" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi there > > I'm getting the following error regardless of whether register_globals > is on or off. > > *Notice*: Undefined variable: button1 in *C:\Program Files\Apache > Group\Apache2\htdocs\spar\admin\login.php*

[PHP-WIN] Re: Undefined variable

2005-01-12 Thread Jason Barnett
Louis Young wrote: Hi there I'm getting the following error regardless of whether register_globals is on or off. *Notice*: Undefined variable: button1 in *C:\Program Files\Apache Group\Apache2\htdocs\spar\admin\login.php* on line *28 You don't need to post the entire page, oy vey that was long!

[PHP-WIN] Re: undefined variable

2002-02-07 Thread daniel cozzolino
You can also avoid these errors by prefixing your variables like so: > if(@$user1==$USER && @$password1==$PASSWORD) { This has the advantage of skipping the error on this occasion rather than for all. dan "Nicole Amashta" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P

[PHP-WIN] Re: undefined variable

2002-02-05 Thread Nicole Amashta
In your php.ini, replace your error_reporting line with this one: error_reporting = E_ALL & ~E_NOTICE That should get rid of the warnings since pre-defining vars in PHP isn't really required (as in Java). Good luck, ~Nicole Amashta www.aeontrek.com "Bz" <[EMAIL PROTECTED]> wrote in message