Ver Mensaje Individual
  #8 (permalink)  
Antiguo 03/03/2010, 15:25
Avatar de Most
Most
 
Fecha de Ingreso: marzo-2009
Mensajes: 642
Antigüedad: 15 años, 1 mes
Puntos: 6
Respuesta: encriptar clave md5

Bueno aver si ya lo e entendido, la informacion de envio a la BD la tengo asi:

Código PHP:
// metiendo informacion
$insert mysql_query("insert into $table values ('NULL', '".$_POST['username']."', '".$_POST['password']."', '".$_POST['name1']."', '".$_POST['name2']."', '".$_POST['email']."', '".$_POST['website']."', 'images/avatar.jpg')"
Bueno, lo tendria que poner asi?:

Código PHP:
// metiendo informacion
$insert mysql_query("insert into $table values ('NULL', '".$_POST['username']."', 'md5(".$_POST['password'].")', '".$_POST['name1']."', '".$_POST['name2']."', '".$_POST['email']."', '".$_POST['website']."', 'images/avatar.jpg')"