hjkhjkjhkhjkgjghjhgjhgjghjhghjghjhgjjnbvnvbnvk
bnmbnmbnhjkhjkhjkhjktyutyutyuytutyutyutyhgjgjghjgjghjguytutyry
/
home
/
wjcvelqp
/
www
/
Upload FileeE
HOME
<?php require_once 'config/database.php'; if (isset($_GET['id'])) { $id = (int)$_GET['id']; // Increase share count $stmt = $pdo->prepare("UPDATE posts SET share_count = share_count + 1 WHERE id = ?"); $stmt->execute([$id]); // Redirect back to the post with share menu open header("Location: single.php?id=" . $id . "&shared=1"); exit; } ?>