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

test

parent 8ea23bd8
...@@ -9,8 +9,15 @@ $String = exec('find '.$dir.' * | grep mkv'); ...@@ -9,8 +9,15 @@ $String = exec('find '.$dir.' * | grep mkv');
//var_dump(scandir($String)); //var_dump(scandir($String));
echo $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 // Verbindung zu localhost auf port 3307
/*$link = mysql_connect('192.168.0.23:3307', 'MediaDB', 'MediaDB'); /*$link = mysql_connect('192.168.0.23:3307', 'MediaDB', 'MediaDB');
if (!$link) { if (!$link) {
...@@ -19,9 +26,9 @@ if (!$link) { ...@@ -19,9 +26,9 @@ if (!$link) {
echo 'Erfolgreich verbunden'; echo 'Erfolgreich verbunden';
*/ */
echo $mysqli->error; //echo $mysqli->error;
$Notindexed; //$Notindexed;
/*
function dirtoArray($dir, $root = ''){ function dirtoArray($dir, $root = ''){
$Arr = scandir($dir); $Arr = scandir($dir);
global $Notindexed; global $Notindexed;
...@@ -51,7 +58,8 @@ function dirtoArray($dir, $root = ''){ ...@@ -51,7 +58,8 @@ function dirtoArray($dir, $root = ''){
} }
} }
return $Notindexed; return $Notindexed;
} }*/
/*
dirtoArray($dir); dirtoArray($dir);
//var_dump($Notindexed); //var_dump($Notindexed);
$dreiD = false; $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