Re: actualy result of problem with formfieldvalues under Suse 8.2

From: Date: Thu, 19 Jun 2003 21:30:21 +0000
Subject: Re: actualy result of problem with formfieldvalues under Suse 8.2
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-28753@lists.php.net to get a copy of this message
Hi Am Donnerstag, 19. Juni 2003 23:21 schrieb Ruprecht Helms: > Hi, > > in the meantime I set the value of register_globals = off > the next to on. > > I get the same result. The following script I use for testing the > formfieldvalues > > <? > echo $begriff > ?> As I said before, this the wrong way. You should leave register_globals=off and acces your data this way: <?php echo $_POST['begriff']; ?> Your second mistake was to forget the ";" and the end of the "echo"-line > > The value I take from a normal formfield by the default transfermethod. What the heck do you mean with default. You should always set: <form action=\"foo.php?op=bar\" method=\"POST\"> or mybe with method=\"GET\" and access it with $_GET > After switching to the php-script I get a blank page without the value I > inserted into the textfield. No wonder;-) CU Thorsten

« previous php.db (#28753) next »