[go: up one dir, main page]

Menu

[r1]: / db.install.php  Maximize  Restore  History

Download this file

14 lines (13 with data), 440 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
<?php
$code = '<?php '."\n";
$file = "http://raw.github.com/jv2222/ezSQL/master/mysql/ez_sql_mysql.php";
$data = file_get_contents($file);
$code.= substr($data,5);
$file = "http://raw.github.com/jv2222/ezSQL/master/shared/ez_sql_core.php";
$data = file_get_contents($file);
$code.= substr($data,5);
$code.= '
global $db;
$db = new ezSQL_mysql(DB_USERNAME,DB_PASSWORD,DB_NAME,DB_HOST);
';
file_put_contents("db.php", $code);