Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/manage_22222/webboard/ drwxr-xr-x |
Viewing file: forgotpasswd.php (2.29 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | \n"; echo " $Username 1 ไม่พบข้อมูลที่ต้องการ \n\n"; exit(); } else{ $Username=$User; $Password=$Password; $Email=$Email; } //ส่งเมล์บอกรหัสผ่าน $subject ="Password ของคุณสำหรับแก้ไขข้อมูลสมาชิกเว็บบอร์ด"; $msg = "คุณสามารถใช้ Username และ Passwoed นี้ เข้าแก้ไขข้อมูลส่วนตัวของคุณ ที่สมาชิกเว็บบอร์ดได้\n\n"; $msg .= "Username :: $Username\n"; $msg .= "Password :: $Password\n\n"; $from = "From: $webmasterEmail\nReply-To: $webmasterEmail\nReturn-Path: $webmasterEmail"; if(mail($Email , $subject , $msg , $from)) { echo "
\n"; echo "
\n"; } ?> |