RE: [PHP] variables not processing anymore :(

From: Date: Wed, 26 Jul 2000 10:09:42 +0000
Subject: RE: [PHP] variables not processing anymore :(
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-8247@lists.php.net to get a copy of this message
Check your php.ini file to see whether register_globals = on If it's not on turn it on! regards - Jason Wong Digital View Ltd 2201 Nanyang Plaza 57 Hung To Road Kwun Tong HONG KONG Tel: +852-2861-3615 Fax: +852-2520-2987 www.digitalview.com > -----Original Message----- > From: Parker [mailto:php@wildmile.com] > Sent: 26 July 2000 06:37 > To: php-general@lists.php.net > Subject: [PHP] variables not processing anymore :( > > > Forgive if this is basic.. newbie to PHP here. > > I have the following (which has worked for many many weeks with PHP 3): > > Form: > > <form action="mail.php" method="post"> > > Please Enter Your Number:<input type="text" name="number" > value="" > size="30"><br> > > Please Enter Name:<input type="text" name="name" value="" > size="30"><br> > > <div align="center"> > <input type="reset" value="Clear"><input type="submit" > name="Submit" > value="Submit"> > </div> > </form> > > Result page: > > Thanks for submitting <?php echo "$name"; ?>! Return to the <a > href="javascript:history.go(-1)">previous page</a>. > > <?php > > mail ("tech@domain.com", "Another Number!", "Hiya! > Here is the number information for $name: > > Number: $number > Nickname: $name", "From: webmaster@domain.com"); > > ?> > > I installed PHP4 and now includes, mail etc. all work, but variables > aren't being passed anymore. I'm terribly sorry if this is really > basic, but I'm not sure what happened since installing 4. Thanks. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#8247) next »