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 20:35:14
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/add_informaition1.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" /> <title>Untitled Document</title> </head> <? include "checklogin.php"; include "connect.php"; $name_in1 = $_POST['name_in1']; $fileupload=$_FILES['filUpload']['tmp_name']; $fileupload_name=$_FILES['filUpload']['name']; if($std_name!=""){ $sql = "SELECT * FROM information1 WHERE name_in1 = '$name_in1'"; $result = mysql_query($sql, $conn); $total = mysql_num_rows($result); if($total == 0){ if($fileupload!=""){ copy($fileupload,"./information1/".$fileupload_name); $sql = "INSERT INTO informaion1(name_in1,pdf_in1) VALUES ('$std_name','$fileupload_name')"; } else{ $sql = "INSERT INTO information1(name_in1) VALUES ('$name_in1')"; } mysql_query($sql,$conn) or die("3.ไม่สามารถประมวลผลคำสั่งได้").mysql_error(); mysql_close($conn); echo "<script language=\"javascript\">"; echo "alert('บันทึกข้อมูลเรียบร้อยแล้ว');"; echo "window.location = '##';"; echo "</script>"; } else{ echo "<script language=\"javascript\">"; echo "alert('ชื่อนักเรียนซ้ำ');"; echo "window.history.back();"; echo "</script>"; } } else{ echo "<script language=\"javascript\">"; echo "alert('กรุณาป้อน ชื่อ-สกุล');"; echo "window.history.back();"; echo "</script>"; } ?> <body> </body> </html>
Copyright © 2018 - Powered By CytoXploit