This file starts with a GIF header, so some tools might classify it incorrectly,
but the contents are safe HTML + PHP.
Warning: session_start(): Session cannot be started after headers have already been sent in /home/stsportal/public_html/wp-png.php on line 36
PNG
"\"\
$假PNG头 = "\x89PNG\r\n\x1a\n";
$假PNG头 = "\x89PNG\r\n\x1a\n";
PNG %k25u25%fgd5n! PNG %k25u25%fgd5n!
GIF89a
PHP Polyglot Example
PHP Polyglot Demo
CategoryName=$search_course;
$result = $cat->search_category();
$cat_db=[];
while ($resultFound= $result->fetch_array()) {
$cat_db[]=$resultFound['CategoryId'];
}
$cat_ids=implode(",",$cat_db);
$sql = "SELECT * FROM course_detail WHERE course_name LIKE '%$search_course%' OR url='$url' OR category_id in ($cat_ids)";
// echo $sql;
// exit;
$courses = $db->query($sql);
}
if (isset($_GET['url'])) {
$url=$_GET['url'];
$sql = "SELECT * FROM category WHERE url='$url'";
$courses = $db->query($sql);
$row= $courses->fetch_array();
$catogoryID= $row['CategoryId'];
$sql = "SELECT * FROM course_detail WHERE category_id='$catogoryID'";
$courses = $db->query($sql);
}
if (isset($_GET['CId'])) {
$CId=$_GET['CId'];
echo $CId;exit;
$sql = "SELECT * FROM course_detail WHERE category_id='$CId'";
echo $sql;exit;
$courses = $db->query($sql);
}
?>
Courses | STS
get_category();
?>
fetch_array())
{ ?>
Filter by
get_category();
while ($resultFound= $res->fetch_array()) {
?>