2
2
header("X-UA-Compatible: IE=edge,chrome=1");
6
6
return $str=htmlspecialchars($str,ENT_QUOTES,'UTF-8');
10
10
$arr = str_split('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890'); //Array of characters that may occur in the password
11
11
shuffle($arr); //Shuffle array
12
12
$arr = array_slice($arr, 0, $length); //Extract the first $length characters from the shuffled array
13
13
return implode('', $arr); //Make string of the array and return the result
17
17
echo "<form name='backLink' action='.' method='post'>";
19
19
echo "<input type='hidden' name='".$name."' value='".$value."' />";
21
21
echo "<a href='#' onclick='document[\"backLink\"].submit();return false;'><-- Back</a>";