MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 8.0.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/www/imenso.co/dev/spotilicious/sources/read_blog.php
<?php
if ($wo['config']['blogs'] == 0) {
	header("Location: " . $wo['config']['site_url']);
    exit();
}

if (empty($_GET['id'])) {
  header("Location: " . $wo['config']['site_url']);
  exit();
}
$_GET['id'] = Wo_GetPostIdFromUrl($_GET['id']);
if (empty($_GET['id']) || !is_numeric($_GET['id'])) {
	header("Location: " . $wo['config']['site_url']);
	exit();
}
$article = Wo_GetArticle($_GET['id']);

$id = Wo_Secure($_GET['id']);

if (empty($article)) {
	header("Location: " . Wo_SeoLink('index.php?link1=welcome'));
    exit();
}

$sql_query = mysqli_query($sqlConnect, "UPDATE `Wo_Blog` SET `view` = `view` + 1 WHERE `id` = '$id'");

$wo['description'] = $article['description'];
$wo['keywords']    = $article['tags'];
$wo['page']        = 'read-blog';
$wo['article']     = $article;
$wo['author']      = $article['author'];
$wo['title']       = $article['title'];
$wo['content']     = Wo_LoadPage('blog/read-blog');