GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — phpiggy/cli.php at main · klajdm/phpiggy Expand file tree/ Copy pathcli.phpMore file actions 20 lines (14 loc) · 432 Bytes / Copy pathcli.phpFile metadata and controls20 lines (14 loc) · 432 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 <?php require __DIR__ . "/vendor/autoload.php"; use Framework\Database; use Dotenv\Dotenv; use App\Config\Paths; $dotenv = Dotenv::createImmutable(Paths::ROOT); $dotenv->load(); $db = new Database($_ENV['DB_DRIVER'], [ 'host' => $_ENV['DB_HOST'], 'port' => $_ENV['DB_PORT'], 'dbname' => $_ENV['DB_NAME'] ], $_ENV['DB_USER'], $_ENV['DB_PASS']); $sqlFile = file_get_contents("./database.sql"); $db->query($sqlFile); |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |