There was a thread on the list regarding this. Do a search here for 'register globals on and off'. That thread should help you..
Regards "Paradiddles" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hey everyone! > > I noticed that in the older version of php (when register globals was 'on' by default) that coding for 'post' variables (where info is passed from the form into the variables) took an easier approach ...ie. > > $totalqty = $tireqty + $oilqty + $sparkqty; (old way) > > $HTTP_POST_VARS["tireqty"] + $HTTP_POST_VAR["oilqty"] + HTTP_POST_VARS["sparkqty"]; (new way) > > 2 questions: > > 1.) Is there a shorter way to code this stuff now? > > 2.) Do I need to change the way I code for everything now, or do the changes only apply to retrieveing form variables? > > thanks- > > > > ---------------- > "forget your lust for the rich man's gold. All that you need, is in your soul. You can do this if you try. All that I want for you my son, is to be satisfied" > > ~ Lynard Skynard > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php