25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
298 B

  1. <?php
  2. include "header.php";
  3. connecte("ecomonde");
  4. $id=$_POST['id'];
  5. $pseudo=$_POST['pseudo'];
  6. $pass=sha1($_POST['password']);
  7. $sql="UPDATE membres SET pseudo='$pseudo',pass='$pass'WHERE id=$id";
  8. mysql_query($sql) or die(include('index.php?msg=0'));
  9. if($sql) header("location:index.php?msg=1");
  10. ?>