Commit 9eeb9760 authored by Cellophile's avatar Cellophile 🎨
Browse files

Delete fonction_securisation_url.php

parent 700875ae
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>PersonaLink</title>
</head>
<body>
<?php
//chaine n°1 :
function random1($car1) {
$string1 = "";
$chaine1 = "0123456789abcdefghijklmnopkrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
for($i=0; $i<$car1; $i++) {
$string1 .= $chaine1[rand()%strlen($chaine1)];
}
return $string1;
}
$chaine1 = random1(3);
//chaine n°2 :
function random2($car2) {
$string2 = "";
$chaine2 = "0123456789abcdefghijklmnopkrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
for($i=0; $i<$car2; $i++) {
$string2 .= $chaine2[rand()%strlen($chaine2)];
}
return $string2;
}
$chaine2 = random2(3);
//chaine n°3 :
function random3($car3) {
$string3 = "";
$chaine3 = "0123456789abcdefghijklmnopkrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
for($i=0; $i<$car3; $i++) {
$string3 .= $chaine3[rand()%strlen($chaine3)];
}
return $string3;
}
$chaine3 = random3(3);
//chaine n°4 :
function random4($car4) {
$string4 = "";
$chaine4 = "0123456789abcdefghijklmnopkrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
for($i=0; $i<$car4; $i++) {
$string4 .= $chaine4[rand()%strlen($chaine4)];
}
return $string4;
}
$chaine4 = random4(3);
?>
</body>
</html>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment