scan SWARM & LOCAL

This commit is contained in:
qo-op 2020-05-13 20:44:38 +02:00
parent eb85c057ac
commit 4d0151cce8
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,9 @@
<?php
header("Access-Control-Allow-Origin: *");
if ( ! isset($_REQUEST['phone']) ) {
// DEBUG
$_REQUEST['phone']="0647683646"
}
if (strlen($_REQUEST['phone']) == 10 ) {
// Replace leading 0 with +33
$PHONE = preg_replace('/^0?/', '+33', $_REQUEST['phone']);