diff options
Diffstat (limited to 'admin/dect_clear.php')
-rwxr-xr-x | admin/dect_clear.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/admin/dect_clear.php b/admin/dect_clear.php new file mode 100755 index 00000000..2b20d6c5 --- /dev/null +++ b/admin/dect_clear.php @@ -0,0 +1,25 @@ +<?PHP + + +include ("./inc/db.php"); +include ("./inc/config.php"); +include ("./inc/funktion_modem.php"); + + +$SQL = "SELECT DECT FROM `User`;"; + +$Erg = mysql_query($SQL, $con); + +echo mysql_error($con); + +for( $i=0; $i<mysql_num_rows($Erg); $i++) +{ + $Number = "#10". mysql_result($Erg, $i, "DECT"); + if( strlen($Number)==7) + DialNumber( $Number); +} + +return 0; + +?> + |