diff options
Diffstat (limited to 'doc/niels-diplom/Dateistruktur/connect.php')
-rwxr-xr-x | doc/niels-diplom/Dateistruktur/connect.php | 43 |
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 |