BLACKSITE
:
18.222.120.131
:
103.154.184.216 / www.astitvaad.com
:
Linux vps.readyhost.in 4.18.0-553.6.1.el8.x86_64 #1 SMP Thu May 30 04:13:58 UTC 2024 x86_64
:
/
home
/
astitvaad
/
public_html
/
admin
/
Upload File:
files >> /home/astitvaad/public_html/admin/tgy.txt
<?php include '../connection.php'; if(isset($_POST['submit'])) { $event_name=$_POST['event_name']; $image=$_FILES['image']['name']; $tmp_name=$_FILES['image']['tmp_name']; $sql="INSERT INTO gallery(event_name,image) VALUES('$event_name','$image')"; $result= mysql_query($sql); $moved=move_uploaded_file($tmp_name, "image/".$image); if($moved) { echo ("<SCRIPT LANGUAGE='JavaScript'> window.alert('Image has been Uploaded') window.location.href='gallery.php'; </SCRIPT>"); } else { echo ("<SCRIPT LANGUAGE='JavaScript'> window.alert('Plz try again') window.location.href='gallery.php'; </SCRIPT>"); } } ?>