عرض مشاركة واحدة
  #1  
قديم 04-11-2021, 11:00 PM
الصورة الرمزية admin
admin 
✯ ادارة المنتدى ✯
 
تاريخ التسجيل: Mar 2021
الدولة: مصر
المشاركات: 724
معدل تقييم المستوى: 10
admin is a splendid one to beholdadmin is a splendid one to beholdadmin is a splendid one to beholdadmin is a splendid one to beholdadmin is a splendid one to beholdadmin is a splendid one to behold


Smile فنكشن حمايه المدخلات

 

فنكشن حمايه المدخلات

كود:
 function clean_value($getandpost) 
        { 
        $getandpost = htmlspecialchars($getandpost); 
        $getandpost = str_replace("select","",$getandpost); 
        $getandpost = str_replace("update","",$getandpost); 
        $getandpost = str_replace("insert","",$getandpost); 
        $getandpost = str_replace("where","",$getandpost); 
        $getandpost = str_replace("like","",$getandpost); 
        $getandpost = str_replace("or","",$getandpost); 
        $getandpost = str_replace("and","",$getandpost); 
        $getandpost = str_replace("set","",$getandpost); 
        $getandpost = str_replace("into","",$getandpost);
        $getandpost = str_replace('"',"",$getandpost); 
        $codenumber = str_replace("'", "", $codenumber); 
        $codenumber = str_replace(";", "", $codenumber); 
        $codenumber = str_replace(">", "", $codenumber); 
        $codenumber = str_replace("<", "", $codenumber); 
        $getandpost=strip_tags($getandpost); 
        return $getandpost; 
    }


الموضوع الأصلي : فنكشن حمايه المدخلات || الكاتب : admin || المصدر : منتدى مجمع التطوير

 


التوقيع

رد مع اقتباس