No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello..im a newbie in php, i'm curious about how to make a single file with multifunction, so i can call this file in another file. For example, i made a search function in "search.php". Then i want to call it in another file (more than one), to run a search … | |
Can someone help me with below script, this is script for change password. But it always can't recognize the old password. i'm really thankfull for your comments.. <?php include("plogin.php"); //$_SESSION["userId"] = $_POST['id']; //$userId = $_POST['id']; session_start(); include("config.php"); //Cek Login if ($_SESSION['level']==user) { $namaLgkp = $_SESSION['username']; if(count($_POST)>0) { $result = mysql_query("SELECT … | |
Hi guys, can anyone help me with this script. i would like to update password into md5. what should i do TQ <?php include("plogin.php"); session_start(); //Cek Login if ($_SESSION['level']==user) { $namaLgkp = $_SESSION['username']; ?> <?php session_start(); include("config.php"); if($_REQUEST["Submit"]=="Ganti") { $sql="update tb_user set password ='$_REQUEST[pwbaru]' where username = '$_SESSION[username]'"; //echo $sql; … |