Skip to content

Instantly share code, notes, and snippets.

View marceljuenemann's full-sized avatar

Marcel Juenemann marceljuenemann

View GitHub Profile
@marceljuenemann
marceljuenemann / dwz-update.php
Created April 2, 2023 13:55
DSB DWZ Datenbank aktualisieren
<?php
function autodwz ( $lv, $db )
{
$zip = new ZipArchive;
$url = "https://dwz.svw.info/services/files/export/sql/LV-$lv-sql.zip";
echo "Lade $lv.\r\n";
if ( !copy ( $url, "dwz.zip" ) )
{ echo "Fehler!"; return; }