a
This commit is contained in:
parent
c98625d76a
commit
b17fe07ce3
|
|
@ -278,8 +278,18 @@ class ControleurFichebeneficiaire extends Controleur {
|
|||
file_put_contents($chemin, $data);
|
||||
|
||||
$rand = rand(1,1000000);
|
||||
$rand2 = rand(1,1000000);
|
||||
$nomImage = $username."_".$rand.'.'. $extension;
|
||||
$nomImageCrypte_0 = $username."_".$rand.'.bin';
|
||||
// $nomImageCrypte_0 = $username."_".$rand.'.bin';
|
||||
if($_SESSION['crypterPhoto']=="1")
|
||||
{
|
||||
$nomImageCrypte_0 = $username."_".$rand.'.bin';
|
||||
}
|
||||
else
|
||||
{
|
||||
$nomImageCrypte_0 = $username."_".$rand2.'.jpg';
|
||||
}
|
||||
|
||||
$nomImageCrypte = $_SESSION['p_lienPhotoFace'] . $nomImageCrypte_0;
|
||||
|
||||
if ($compare_face=="1")
|
||||
|
|
|
|||
|
|
@ -651,11 +651,13 @@
|
|||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
var_dump(
|
||||
array(
|
||||
"crypterPhoto" => $_SESSION['crypterPhoto'],
|
||||
)
|
||||
);
|
||||
*/
|
||||
?>
|
||||
</div>
|
||||
<?= $contenu ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user