OR, rather than setting register_globals to "on", define your variables using the superglobal arrays. See the Predefined Variables section of the PHP docs.
----- Original Message ----- From: "Moraes, Fabio" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 9:24 AM Subject: RE: [PHP-INST] Passing variables via Form > Be sure register_globals is set to "On" in your php.ini. > > --- > Fabio Moraes > [EMAIL PROTECTED] > +55 21 3088 9183 > > -----Original Message----- > From: Hoofe, Dennis [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 8:46 AM > To: '[EMAIL PROTECTED]' > Subject: [PHP-INST] Passing variables via Form > > > Hi, > > I have the following problem: > First file: test.php > Second: test2.php > > Via form I pass a variable from File 1 to File 2. Echoing the variable (echo > $variableIset;) does not work, although the variable seems to be properly > passed in the URL. > Has this something to do with track_vars or something like that? Everything > else works. > I have the most lately stable apache release and php release. > > Thx a lot > Dennis > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php