mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-06-13 02:29:20 +00:00
test
This commit is contained in:
@ -5,11 +5,15 @@
|
||||
|
||||
$_GET['page'] = trim($_GET['page'], '/');
|
||||
$_GET['page'] = explode('/', $_GET['page'])[0];
|
||||
if($_GET['page'] == '') $_GET['page'] = 'index';
|
||||
if($_GET['page'] == '') {
|
||||
$_GET['page'] = 'index';
|
||||
}
|
||||
|
||||
// var_dump($_POST);
|
||||
// var_dump($_GET);
|
||||
|
||||
include_once "tagHandler.php";
|
||||
$file = file_get_contents("../html/".$_GET["page"].".html");
|
||||
echo loadTags($file, false);
|
||||
$pokemon = loadTags("../html/".$_GET["page"].".html", false);
|
||||
$pokemon = mb_convert_encoding($pokemon, "utf-16");
|
||||
echo $pokemon;
|
||||
// echo mb_convert_encoding($pokemon, "ascii");
|
||||
|
Reference in New Issue
Block a user