CasperSecurity

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

<?php
session_start();

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

$syllabus_title = $_REQUEST['syllabus_title'];
$sem_name = $_REQUEST['semester_name'];
$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 syllabus_upload SET syllabus_title='$syllabus_title',semester_name='$sem_name',images='$imgname' WHERE id ='$idu'");
$msg = "Syllabus Uploaded Successfully.";

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

print "<script>";

print "self.location = 'syllabus.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