<?php
/*
* Hello
* This is a function coded by me to help you protect your login panel from bypass vulnerability
* Contact Me :-
* Facebook : https://www.facebook.com/Daviddoaaofficial/
* Twitter : https://twitter.com/daviddoaa
*/
function SecureLogin( $string ){
$string = str_replace ('&','&', $string );
$string = str_replace ('\'',''', $string );
$string = str_replace ('\"','"', $string );
if (phpversion() >= '4.3.0'){
$string = mysql_real_escape_string($string);
}else{
$string = mysql_escape_string($string);
}
$string = str_replace ('\r\n',"\r\n", $string );
return $string;
}
?>