Hello, bonjour
tu peut teste avec se code
you can test with this code
chercher / search
remplace par / replaced by
tu peut teste avec se code
you can test with this code
chercher / search
$signature = $_POST["signature"];remplace par / replaced by
if ($_POST["signature"] != '') {
$extensions_valides = array( 'jpg' , 'jpeg' , 'gif' , 'png' );
$Extension = strtolower(pathinfo($_POST['signature'],PATHINFO_EXTENSION));
if (in_array($Extension, $extensions_valides)){
$signatures = $_POST["signature"];
} else {
$signatures = '';
}
}
$signature = $signatures;
Last edited by Gollum on 2022-12-09 15:27:38

