Re: unable to pass values between pages

From: Date: Tue, 30 Apr 2002 03:45:01 +0000
Subject: Re: unable to pass values between pages
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83506@lists.php.net to get a copy of this message
Hi Maria... What version of PHP are you running? If you are running 4.2.0 or newer, the problem you are seeing is by design. From version 4.2.0 onwards, request variables are no longer registered in the global scope. See http://www.php.net/release_4_2_0.php In future, php-general@lists.php.net is the place to post questions about developing WITH PHP - php-dev is for the development OF PHP. Thanks, Matt "Maria" <maria@rtc.riken.go.jp> wrote in message news:20020430031917.6104.qmail@pb1.pair.com... > Dear Freinds, > I am trying to pass the value from one page to other. But that value is not > displayed by the receiving page. > I am using win 2000 server with IIS. Is there anything to be configured in > php.ini file? > The following is the code: > > user.php > <HTML> > <FORM METHOD="POST" ACTION="process.php"> > <INPUT TYPE="text" NAME="username"><BR><BR> > <INPUT TYPE="submit" value= "Submit data"> > </FORM> > </HTML> > ----------------------------------------------------------------- > process.php > <HTML> > <? > echo (" Welcome, " . $username); > ?> > </HTML> > >

« previous php.dev (#83506) next »