Re: variables

From: Date: Wed, 22 May 2002 09:52:02 +0000
Subject: Re: variables
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98719@lists.php.net to get a copy of this message
you can use $_POST['name1'] if you're using post vars $_GET['name1'] if you're using get vars Regards Michael "Roman Duriancik" <rduriancik@indprop.gov.sk> schrieb im Newsbeitrag news:BGEDJJKMAKMHFNBGMBECEEKLCKAA.rduriancik@indprop.gov.sk... > When are set in php.ini (php version 4.2.1 on linux) register_globals = Off > how > I read variables from html files with forms in other php file ? > > Thanks > > roman > > for example : > > html file : > > <form action="query.php" method="POST"> > <input type="text" name="name1" value=""> > <input type="submit" value = "OK" class="button"> > </form> > > and in php file > <? > echo $name1; > ?> >

« previous php.general (#98719) next »