summaryrefslogtreecommitdiff
path: root/www-ssl/admin/dect_clear.php
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/admin/dect_clear.php')
-rwxr-xr-xwww-ssl/admin/dect_clear.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/www-ssl/admin/dect_clear.php b/www-ssl/admin/dect_clear.php
new file mode 100755
index 00000000..2b20d6c5
--- /dev/null
+++ b/www-ssl/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;
+
+?>
+