Sunda Cyber Army


* Sunda Cyber Army 2k17 *
Indonesia Defacer ~


Path : /home/dent/public_html/demoimages/
File Upload :
Current File : /home/dent/public_html/demoimages/update_files.php

<?php
if(empty($_REQUEST['id'])) {
    echo "You reached this page in error.";
    exit();
}

$host = "webdev.iyaclasses.com";
$user = "dent";
$userpw = "";
$db="dent_dvd";

include "../pdloginvariables.php";
$db="dent_dvdimages";

$mysql = new mysqli(
    $host,
    $userid,
    $userpw,
    $db
);

if($mysql->connect_errno) {
    echo "db connection error : " . $mysql->connect_error;
    exit();
}

$sql = "UPDATE dvd_titles SET ".
    " title = '" . $_REQUEST['title'] . "'," .
    " imageurl = '" . $_REQUEST['imageurl'] . "'," .

    " genre_id=" . $_REQUEST['genre'] .
    " WHERE dvd_title_id=  " . $_REQUEST['id'];

$results = $mysql->query($sql);
// echo $sql;

if(!$results) {
    echo $sql;
    echo $mysql->error();
    exit();
}
echo " I updated your movie " .
    "<img style='width:30px' src='" . $_REQUEST['imageurl'] . "'>" .
    $_REQUEST['title'] .
    " ... <br>back to <a href='search_files.php'>search</a>...";

exit();