* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ ?> "; elseif ($_POST["password"] == "") $error_form = "Tienes que indicar una contraseña.
"; elseif ($_POST["email"] == "") $error_form = "Se te ha olvidado indicar tu correo.
"; elseif ($_POST["tm_login"] == "") $error_form = "Se te ha olvidado indicar tu número de móvil.
"; elseif ($_POST["tm_password"] == "") $error_form = "Se te ha olvidado indicar tu clave del 770.
"; if ($error_form == "") { $password_md5 = md5($_POST[password]); $sql= "insert into usuarios (username, password, email, tm_login, tm_password) values ('$_POST[username]', '$password_md5', '$_POST[email]', '$_POST[tm_login]', '$_POST[tm_password]')"; mysql_query($sql); $mensaje = "Guarde estos datos en un lugar seguro:\n\nSu usuario es: ".$_POST[username]."\nY su clave: ".$_POST[password]."\n\nGracias por registrarte en mi bolsa"; mail($_POST['email'], 'Confirmación de registro mibolsa', $mensaje); header( 'Location: '.$global_url.'index.html'); } } ?> mibolsa

Crear cuenta de usuario

Nombre de usuario: >

Contraseña:

e-mail >

Móvil: >

Tu número de móvil.

Clave 770: >

Envia un sms al 770 con la clave que quieras.