n/oldblog
Archived
1
0
Fork 0
This repository has been archived on 2024-02-13. You can view files and clone it, but cannot push or open issues or pull requests.
oldblog/modules/admin/passedit.php
2023-04-30 21:50:11 +02:00

26 lines
No EOL
469 B
PHP

<?php
$fp = fopen("password.txt","r");
$intitule = fgetcsv($fp, 1000, ",");
while ($data = fgetcsv($fp, 1000, ","))
{
$name[$Cpt] = $data[0];
$pass[$Cpt] = stripcslashes($data[1]);
$bienvenue[$Cpt++] = stripcslashes($data[2]);
}
fclose($fp);
if ($name[0] == {I_PASSWORD_NOM})
{
print_r($name);
print_r($pass);
print_r($bienvenue);
}
else
{
while ($name[$Cpt--] != {I_PASSWORD_NOM});
echo "$pass";
}
?>