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 :
alterar-opiniao.php
<?php require_once "conecta.php"; mysqli_select_db($lelo, 'lelopagani'); $id = $_POST["id"]; $id = trim($id); $titulo = $_POST["titulo"]; $titulo = trim($titulo); $descricao_breve = $_POST["descricao_breve"]; $descricao_breve = trim($descricao_breve); $descricao_longa = $_POST["descricao_longa"]; $descricao_longa = trim($descricao_longa); $data_postagem = $_POST['data_postagem']; $data_postagem = trim($data_postagem); $link = $_POST["link"]; $link = trim($link); $video = $_POST["video"]; $video = trim($video); $ativo = $_POST["ativo"]; $ativo = trim($ativo); // Insert EN $updateSQL = "UPDATE opiniao SET titulo = '$titulo', descricao_breve = '$descricao_breve', descricao_longa = '$descricao_longa', link = '$link', video = '$video', data_postagem = '$data_postagem', ativo = '$ativo' WHERE idopiniao ='$id'"; $Result = mysqli_query($lelo, $updateSQL) or die(mysqli_error($lelo)); header("Location: home.php?editado=true");