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

26 lines
469 B
PHP
Raw Normal View History

2023-04-30 21:28:42 +02:00
<?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";
}
?>