Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/06/2015, 04:53
Tusade
 
Fecha de Ingreso: marzo-2015
Mensajes: 42
Antigüedad: 9 años, 1 mes
Puntos: 2
Dónde soleis hacer el registro y login

Pues el título del hilo es la pregunta (No sé en qué subforo debería ir).

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'];