HOME SHELL

NULLCOMMUNITY
 LiteSpeed
 Linux server2.poyrazhosting.com 3.10.0-962.3.2.lve1.5.77.el7.x86_64 #1 SMP Mon Dec 12 07:06:14 EST 2022 x86_64
 safemode : OFF
 MySQL: OFF | Perl: OFF | cURL: ON | WGet: OFF
  >  / home / cuneytsener53 / rentacar3.snrsoft.com.tr /

Server Ip : 104.21.78.54




Filename/home/cuneytsener53/rentacar3.snrsoft.com.tr/sepetislem.php
Size709
Permissionrw-r--r--
Owner
Create time02-Mar-2025 05:46
Last modified13-Jun-2021 19:08
Last accessed05-Apr-2025 02:10
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?php
session_start();
require_once("xpanel/inc/vt.php");



if ($_POST['tip']) {
$tip = $_POST['tip'];
switch ($tip) {
case 'ekle':

$_SESSION['sepet'][0] = $_POST;

//print_r($_SESSION['sepet']);
header("Location: arac-kirala");


break;

case 'sil':
$id = $_POST['id'];
unset($_SESSION['sepet'][$id]);
break;

}


//header("location:".htmlspecialchars($_SERVER['HTTP_REFERER']));

}
if ($_GET['tip']) {
$tipp = $_GET['tip'];
switch ($tipp) {

case 'sil':
$id = $_GET['urun'];


unset($_SESSION['sepet'][$id]);
break;
}

header("location:".htmlspecialchars($_SERVER['HTTP_REFERER']));

}