This commit is contained in:
Jaybe
2025-03-05 14:10:06 +09:00
commit 7a77932344
1905 changed files with 122510 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<?php
preg_match_all('/^(([A-Z]{2})?[0-9]+)(\?)?(.+)?$/i', urldecode($_SERVER['QUERY_STRING']), $matches);
// print_r($matches); exit;
if($matches[1][0]) {
$url = "https://event.hotblood.co.kr/{$matches[1][0]}";
if(isset($matches[4][0]))
$url .= "?{$matches[4][0]}";
header("Location: {$url}");
exit;
}
//echo nl2br(print_r($matches,1));