Re: post variables disappeared?

From: Date: Thu, 04 Jan 2001 00:31:34 +0000
Subject: Re: post variables disappeared?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-32579@lists.php.net to get a copy of this message
I apologize for the typo in my original request. Here's a "real" file I have on my server named "puttestphp.php": <? echo " <form method=post action=phpinfo.php> <input name=testme> <input type=submit> </form> "; ?> The file phpinfo.php is this: <? print("\$testme - $testme<br>\n"); phpinfo(); ?> Running puttestphp.php and entering any value results in the top line saying this: $testme - [the normal output phpinfo() follows] My scripts were working correctly for quite some time which is one of the reasons I'm so stymied! Thanks again! Niles ----- Original Message ----- From: Julie Meloni To: Niles Cc: php-general@lists.php.net Sent: Wednesday, January 03, 2001 7:23 PM Subject: Re: [PHP] post variables disappeared? > For instance, if I have a form: > <form method=POST action=somephpfile.php> > <input name=thisvar type=hidden> > <input type submit> > </form> > > with somephpfile.php: > <? > print("\$thisvar - $thisvar<br>\n"); > ?> > > the only output will be: > $thisvar - > > Does anyone have a clue what may have happened? It has no value -- look at your input field. -- +------------------------------------------------+ | Julie Meloni (julie@i2ii.com) | | Tech. Director, i2i Interactive (www.i2ii.com) | | | | "PHP Essentials" & "PHP Fast & Easy" | | http://www.thickbook.com/ | +------------------------------------------------+

« previous php.general (#32579) next »