Tema: Md5
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 14/03/2009, 06:47
Avatar de alemuro
alemuro
 
Fecha de Ingreso: diciembre-2008
Ubicación: Barcelona
Mensajes: 56
Antigüedad: 16 años, 1 mes
Puntos: 0
Md5

He buscado acerca de como integrar el código MD5 en mi web, pero no consigo hacerlo...
¿me ayudáis?

Código PHP:
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form_registro")) {
  
$insertSQL sprintf("INSERT INTO usuarios (usuario, contrasena, mail, nombre, apellido, dia, mes, ano, ciudad, boletin, nivel) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
                       
GetSQLValueString($_POST['nombre_de_usuario'], "text"),
                       
GetSQLValueString($_POST['contrasena'], "text"),
                       
GetSQLValueString($_POST['direccion_email'], "text"),
                       
GetSQLValueString($_POST['nombre'], "text"),
                       
GetSQLValueString($_POST['primer_apellido'], "text"),
                       
GetSQLValueString($_POST['dia'], "text"),
                       
GetSQLValueString($_POST['mes'], "text"),
                       
GetSQLValueString($_POST['ano'], "text"),
                       
GetSQLValueString($_POST['ciudad'], "text"),
                       
GetSQLValueString($_POST['boletin'], "text"),
                       
GetSQLValueString($_POST['nivel'], "text")); 
Gracias.
alemuro