Me refiero a las páginas de "registro.php" o "login.php" a las que se redirige el "action" del formulario.
¿Soleis reenviar la información a otra página distinta de la página del formulario? ¿O volveis a llamar a la misma página del formulario con un "$_SERVER['PHP_SELF']"?
Perdón si mi pregunta es estúpida o no se entiende, pero es que acabo de leer:
Cita:
Also something you may want to consider: Get rid of "insert.php" and put the code from THAT into the same page as the form. You can do something like this:
Form: <form method="post" action="'.$self.'">
(put in the top of the page inside the PHP brackets)
$self = $_SERVER['PHP_SELF'];
$username = $_GET['username'];
$email = $_GET['email'];
Form: <form method="post" action="'.$self.'">
(put in the top of the page inside the PHP brackets)
$self = $_SERVER['PHP_SELF'];
$username = $_GET['username'];
$email = $_GET['email'];