Heim > Backend-Entwicklung > PHP-Tutorial > 一个用于网站用户管理的函数库原作者tim_perdue_PHP教程

一个用于网站用户管理的函数库原作者tim_perdue_PHP教程

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Freigeben: 2016-07-13 17:24:41
Original
757 Leute haben es durchsucht

0) { $feedback .= ERROR - USER NAME EXISTS ; return false; } else { //create a new hash to insert into the db and the confirmation email $hash=md5($email.$hidden_hash_var); $sql="INSERT INTO user (user_name,real_name,password,email,remote_addr,confirm_hash,is_confirmed) ". "VALUES ($user_name,$real_name,". md5($password1) .",$email,$GLOBALS[REMOTE_ADDR],$hash,0)"; $result=db_query($sql); if (!$result) { $feedback .= ERROR - .db_error(); return false; } else { //send the confirm email user_send_confirm_email($email,$hash); $feedback .= Successfully Registered. You Should Have a Confirmation Email Waiting ; return true; } } }

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/532120.htmlTechArticle0) { $feedback .= ERROR - USER NAME EXISTS ; return false; } else { //create a new hash to insert into the db and the confirmation email $hash=md5($email.$hidden_hash_var); $sql=IN...
Verwandte Etiketten:
Erklärung dieser Website
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn
Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage