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
redirect($base.'login.php');
}
$id = $_SESSION['user_id'];
$result_menu = $front->get_menu();
$s_front = clone $front;
$userFound = $front->findByThis('customer_id', $id, 'personal_details');
$user_record = $front->findByThis('id', $id, 'users');
$group_id = $user_record['group_id'];
// Begin pagination handling
$_SESSION['no_of_records'] = 10;
// Include pagination class
include('classes/pagination.php');
// Create pagination object
$pagination = new pagination;
// Set page number to 1
$page = 1;
// If page number sent
if (isset($_GET['page'])) {
// Set current page number to received page number
$page = (int) $_GET['page'];
}
// Create and run query
$total_count_result = $db->query("SELECT COUNT(id) AS totalRecords FROM notifications WHERE user_id = '" . $_SESSION['user_id'] . "'");
$total_count_row = $total_count_result->fetch_array();
$total_records = $total_count_row['totalRecords'];
$pagination->setLink("?page=%s");
$pagination->setPage($page);
$pagination->setSize();
$pagination->setTotalRecords($total_records);
$navigation = $pagination->create_links();
// End pagination handling
?>
Notifications
Notifications
query("SELECT * FROM notifications WHERE user_id = '" . $_SESSION['user_id'] . "' ORDER BY id DESC " . $pagination->getLimitSql());
while ($notifications_row = $notifications_result->fetch_array()) {
?>
Showing getEnteriesStart(); ?> to getEnteriesEnd(); ?> of total_records; ?> entries