Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Aug 2001
    Messaggi
    320

    come funziona un campo inserito con la Funzione password

    Ciao
    ho inserito un campo nome con la funzione password tramite phpadmin e in visualizzazione mi appare 285b9c0e5b0b39ef
    se faccio un confronto ad esempio :
    $search=mysql_query("select * from cercanome where nome='$cerca'");
    while (list ($nomi) = mysql_fetch_row ($search)){
    etc. etc.
    .......
    ........
    come devo scrivere la funzione, perchè così la lista non mi appare anche se nella variabile $cerca c'è il nome esatto

    Felicità e Prosperità a tutti

  2. #2
    Moderatore di Server Apache L'avatar di marketto
    Registrato dal
    Sep 2001
    Messaggi
    5,858
    "Note: The PASSWORD() function is used by the authentication system in MySQL Server, you should not use it in your own applications. For that purpose, use MD5() or SHA1() instead. Also see RFC 2195 for more information about handling passwords and authentication securely in your application."
    http://dev.mysql.com/doc/mysql/en/en...functions.html





    usa l'algoritmo MD5, disponibile sia su mySQL, sia su php.


    think simple think ringo

  3. #3
    Utente di HTML.it
    Registrato dal
    Aug 2001
    Messaggi
    320
    grazie mille +1

    Felicità e Prosperità a tutti

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.