Hi, i have a form that posts a user/password
combination to this script:
<?php
session_start();
//database connection here...
if (@$usuario && @$pass) {
$res = @(" select * from userpass where user = '$usuario' and pass = '$pass' ");
if(@mysql_num_rows($res) == 1) {
$usuario_valido = $usuario;
session_register("usuario_valido");
}
}
Header("Location: session1.php");
?>
what i want to do next is to pass the
username variable "$usuario" to a second
script wher it will be part of a hidden form field, but when i redirect to session1.php i can't get the variable
"$usuario" to put it in the hidden field
How can i get it there?
thank in adv.
Pablo