you can use

$_POST['name1'] if you're using post vars
$_GET['name1'] if you're using get vars

Regards Michael


"Roman Duriancik" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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;
> ?>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to