scan SWARM & LOCAL
This commit is contained in:
parent
eb85c057ac
commit
4d0151cce8
|
@ -1,5 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
header("Access-Control-Allow-Origin: *");
|
header("Access-Control-Allow-Origin: *");
|
||||||
|
if ( ! isset($_REQUEST['phone']) ) {
|
||||||
|
// DEBUG
|
||||||
|
$_REQUEST['phone']="0647683646"
|
||||||
|
}
|
||||||
if (strlen($_REQUEST['phone']) == 10 ) {
|
if (strlen($_REQUEST['phone']) == 10 ) {
|
||||||
// Replace leading 0 with +33
|
// Replace leading 0 with +33
|
||||||
$PHONE = preg_replace('/^0?/', '+33', $_REQUEST['phone']);
|
$PHONE = preg_replace('/^0?/', '+33', $_REQUEST['phone']);
|
||||||
|
|
Loading…
Reference in New Issue