2005-09-10 19:25:43 +02:00
|
|
|
|
<?PHP
|
2006-11-08 22:00:04 +01:00
|
|
|
|
// l<>scht alle eintrag in der telefonanlage, indem jede nummer einz<6E>hln gel<65>scht wir (#10<NUMBER>)
|
2005-09-10 19:25:43 +02:00
|
|
|
|
|
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
?>
|
|
|
|
|
|