-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdb2.php
More file actions
executable file
·38 lines (26 loc) · 813 Bytes
/
db2.php
File metadata and controls
executable file
·38 lines (26 loc) · 813 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
//‚ñå èíäèâèäóàëüíûå íàñòðîéêè ïðåäïðèßòèß
$mysql_password = "See6thoh";
$mysql_hostname = "localhost";
$mysql_user = "root";
$mysql_database = "h116";
$bd = mysql_connect($mysql_hostname, $mysql_user, $mysql_password)
or die("Opps some thing went wrong");
mysql_query("SET NAMES utf8");
mysql_select_db($mysql_database, $bd) or die("Opps some thing went wrong");
$config = array(
'themedir' => "themes/", // path to dir with themes
'mysql_host' => "localhost",
'mysql_user' => "root",
'mysql_password' => $mysql_password,
);
$dbName = 'h116';
$dbUser = 'root';
$dbPass = $mysql_password;
$dbHost = 'localhost';
function cheltime($time)
{
//ðèáàâèòü 6 ÷àñîâ ðàçíèöû âî âðåìåíè (÷àñîâûå ïîßñà) ÷òîáû ïî ƒðèíâè÷ó
return $time+(6)*60*60;
}
?>