One Hat Cyber Team
Your IP :
216.73.216.193
Server IP :
170.247.48.121
Server :
Linux UBAPDWEB9271 3.10.0-1160.71.1.el7.x86_64 #1 SMP Tue Jun 28 15:37:28 UTC 2022 x86_64
Server Software :
Apache
PHP Version :
7.0.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
lelopagani.com.br
/
public
/
adm
/
View File Name :
delete-foto-album.php
<?php require_once('conecta.php'); $id = $_GET['id']; $idimg = $_GET['idimg']; $query = "SELECT * FROM imagem WHERE idnoticia = '$id'"; $rs_projeto = mysqli_query($lelo, $query) or die(mysqli_error($lelo)); $row_rs_projeto = mysqli_fetch_assoc($rs_projeto); $rs_arquivo = $row_rs_projeto['arquivo']; unlink('arquivos/'.$rs_arquivo); $deleteSQL = "DELETE FROM imagem WHERE idimagem = '$idimg'"; $Result = mysqli_query($lelo, $deleteSQL) or die(mysqli_error()); header("Location: home.php?excluido=true");