Commit 479bd928 authored by Nico Schallehn's avatar Nico Schallehn

test

parent a2ebd37d
<?php
header("Content-Type: text/html; charset=utf-8");
$files = array("Version.txt","Changelog.txt","MediaDBViewer.apk");
$Server = "http://mediadb.ddns.net/app/";
$Local = "/var/www/mediadb.ivaya.de/MediaDBViewerAPI/app/";
foreach ($files as $value) {
echo "Starte Download von ".$value." ...";
shell_exec("rm ".$Local.$value);
shell_exec("wget ".$Server.$value." -O ".$Local.$value." "); //> /dev/null 2>&1
echo " done<br>\n";
}
?>
Aktuelle Version: <?php echo file_get_contents($Local."Version.txt")?><br>
<h1>MediaDB Viewer - Android App</h1>
<h2>Aktuelle Version: <?php echo file_get_contents($Local."Version.txt")?></h2>
<a href="MediaDBViewer.apk">Download!</a><br>
<pre>
......
<?php
header("Content-Type: text/html; charset=utf-8");
$files = array("Version.txt","Changelog.txt","MediaDBViewer.apk");
$Server = "http://mediadb.ddns.net/app/";
$Local = "/var/www/mediadb.ivaya.de/MediaDBViewerAPI/app/";
foreach ($files as $value) {
echo "Starte Download von ".$value." ...";
shell_exec("rm ".$Local.$value);
shell_exec("wget ".$Server.$value." -O ".$Local.$value." "); //> /dev/null 2>&1
echo " done<br>\n";
}
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment