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
/
Edit File:
delete-foto-capa.php
<?php require_once('conecta.php'); $id = $_GET['id']; $query = "SELECT * FROM noticia 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_capa']; unlink('arquivos/'.$rs_arquivo); $deleteSQL = "UPDATE noticia SET arquivo_capa = '', descricao_capa = '' WHERE idnoticia='$id'"; $Result = mysqli_query($lelo, $deleteSQL) or die(mysqli_error($lelo)); header("Location: home.php?excluido=true");
Simpan