Commit 8c439e04 authored by Nico Schallehn's avatar Nico Schallehn

test

parent f0117375
...@@ -9,7 +9,14 @@ $String = exec('find '.$dir.' * | grep mkv'); ...@@ -9,7 +9,14 @@ $String = exec('find '.$dir.' * | grep mkv');
//var_dump(scandir($String)); //var_dump(scandir($String));
echo $String;*/ echo $String;*/
$mysqli = new mysqli("192.168.0.23", "MediaDB", "MediaDB", "MediaDB"); $mysqli = new mysqli("", "MediaDB", "MediaDB", "MediaDB");
// Verbindung zu localhost auf port 3307
$link = mysql_connect('192.168.0.23:3307', 'MediaDB', 'MediaDB');
if (!$link) {
die('Verbindung schlug fehl: ' . mysql_error());
}
echo 'Erfolgreich verbunden';
echo $mysqli->error; echo $mysqli->error;
$Notindexed; $Notindexed;
...@@ -69,4 +76,6 @@ foreach ($Notindexed as $value) { ...@@ -69,4 +76,6 @@ foreach ($Notindexed as $value) {
} }
//echo $value[0]." ".$value[1].PHP_EOL; //echo $value[0]." ".$value[1].PHP_EOL;
} }
\ No newline at end of file
mysql_close($link);
\ 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