Commit 5ea67ef8 authored by Nico Schallehn's avatar Nico Schallehn

test

parent 8ea23bd8
......@@ -9,8 +9,15 @@ $String = exec('find '.$dir.' * | grep mkv');
//var_dump(scandir($String));
echo $String;*/
$seconds = 60*60*24;
$H = floor($seconds / 3600);
$i = ($seconds / 60) % 60;
$s = $seconds % 60;
echo sprintf("%02d:%02d:%02d", $H, $i, $s);
# 02:22:05
$mysqli = new mysqli("192.168.0.32", "MediaDB", "MediaDB", "MediaDB");
//$mysqli = new mysqli("192.168.0.32", "MediaDB", "MediaDB", "MediaDB");
// Verbindung zu localhost auf port 3307
/*$link = mysql_connect('192.168.0.23:3307', 'MediaDB', 'MediaDB');
if (!$link) {
......@@ -19,9 +26,9 @@ if (!$link) {
echo 'Erfolgreich verbunden';
*/
echo $mysqli->error;
$Notindexed;
//echo $mysqli->error;
//$Notindexed;
/*
function dirtoArray($dir, $root = ''){
$Arr = scandir($dir);
global $Notindexed;
......@@ -51,7 +58,8 @@ function dirtoArray($dir, $root = ''){
}
}
return $Notindexed;
}
}*/
/*
dirtoArray($dir);
//var_dump($Notindexed);
$dreiD = false;
......
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