code
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
| <?php session_start();
$p = array(); $path['root'] = $_SERVER['DOCUMENT_ROOT'].'/';
$url = array(); $url['root'] = "http://".$_SERVER['HTTP_HOST'].'/';
require_once($path['root'].'config.php');
header('Content-Type: text/html; charset=utf-8');
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT); $mysqli = new mysqli($DB['host'], $DB['id'], $DB['pw'], $DB['db']); if($mysqli->connect_errno) { throw new RuntimeException('mysqli connection error: '.$mysqli->connect_error); } $mysqli->set_charset("utf8");
extract($_POST, EXTR_SKIP); extract($_GET, EXTR_SKIP); ?>
<h1><a href="index.php">Web Hacking victim Site</a></h1> <br>
|
Author:
Slay
Permalink:
http://sean-baek.github.io/2022/08/27/2022-08-27-web-dev-top-php/
License:
Copyright (c) 2021 CC-BY-NC-4.0 LICENSE
Slogan:
Do you believe in DESTINY?