Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function prosesedit(){
- $kode=KODE;
- $id=$this->request->post('id');
- $username=$this->request->post('username',FILTER_SANITIZE_MAGIC_QUOTES);
- $oldpass=md5($this->request->post('passwordlama')).md5($kode);
- $password=md5($this->request->post('password')).md5($kode);
- $password2=md5($this->request->post('password2')).md5($kode);
- $cekpass=$this->user->cekpass($id,$oldpass);
- if (empty($username) || empty($password)){
- echo "Username atau Password masih kosong";
- }else{
- echo "Terisi semua";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement