Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MediaDBPythonScripte
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BA_SI-Projekt
MediaDBPythonScripte
Commits
5ea67ef8
Commit
5ea67ef8
authored
Jan 29, 2016
by
Nico Schallehn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
8ea23bd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
renamer.php
renamer.php
+13
-5
No files found.
renamer.php
View file @
5ea67ef8
...
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment