HEX
Server: nginx/1.18.0
System: Linux srv01 5.15.0-171-generic #181-Ubuntu SMP Fri Feb 6 22:44:50 UTC 2026 x86_64
User: RaviMohan (1026)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/SimranTrikha/bwebz.com/web/bwebzpanel/update_blog.php
<?php
session_start();
include('conn.php');

{
	$name=$_FILES['t2']['name'];
	$temp_name=$_FILES['t2']['tmp_name'];
	move_uploaded_file($temp_name,'/images/'.$name);
	{
	mysql_query('update blog set img="'.$name.'" , title="'.$_POST['t3'].'", descrp="'.$_POST['t4'].'", date="'.$_POST['t5'].'", month="'.$_POST['t6'].'"  , year="'.$_POST['t7'].'" where img_id="'.$_POST['t1'].'" ');
		header('location:blog.php');
	}
	
	
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link href="css/admin.css" rel="stylesheet" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Update Blog Content</title>
</head>

<body>
</body>
</html>