summaryrefslogtreecommitdiff
path: root/doc/niels-diplom/Dateistruktur/connect.php
diff options
context:
space:
mode:
Diffstat (limited to 'doc/niels-diplom/Dateistruktur/connect.php')
-rwxr-xr-xdoc/niels-diplom/Dateistruktur/connect.php43
1 files changed, 0 insertions, 43 deletions
diff --git a/doc/niels-diplom/Dateistruktur/connect.php b/doc/niels-diplom/Dateistruktur/connect.php
deleted file mode 100755
index aeb191f..0000000
--- a/doc/niels-diplom/Dateistruktur/connect.php
+++ /dev/null
@@ -1,43 +0,0 @@
-<?php
-
-$dbuser="nils";
-$dbpass="dbprakt";
-/* Datenbanklogin */
-
-$createuser="creator";
-$createpass="creator";
-/* Datenbanklogin */
-
-
-PutEnv("TWO_TASK=dbprakt");
-
-
-function dbconnect($sql)
-{
-
-
- global $dbuser, $dbpass;
-
- $con = OCILogon($dbuser, $dbpass);
-
- $stmt = OCIParse($con, $sql);
-
- return $stmt;
-
- OCILogoff($con);
-}
-
-function createconnect($sql)
-{
-
-
- global $createuser, $createpass;
-
- $con = OCILogon($createuser, $createpass);
-
- $stmt = OCIParse($con, $sql);
-
- return $stmt;
-
- OCILogoff($con);
-} \ No newline at end of file