HEX
Server: Apache
System: Linux www3.pit.tblive.com 5.14.0-687.38.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Aug 12 17:19:12 EDT 2026 x86_64
User: awaldron (1020)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //home/awaldron/public_html/archive/ras/admin/gallery/photo_edit.php
<?php
include "../../f_db.php";
dbconnect();

if (isset($_POST['submit'])) {
	$upd = "UPDATE ras_gallery_photo SET photo_title='".str_replace('\\"','',$_POST['photo_title'])."', photo_desc='".str_replace('\\"','',$_POST['photo_desc'])."' WHERE photo_id=".$_POST['photo_id'];
	$update = qupdate($upd);
	
	header("Location: index.php?gal=".$_POST['gal_id']);
}
?>