Sunda Cyber Army


* Sunda Cyber Army 2k17 *
Indonesia Defacer ~


Path : /home/dent/public_html/home/000~ROOT~000/proc/self/root/proc/self/cwd/0915/
File Upload :
Current File : /home/dent/public_html/home/000~ROOT~000/proc/self/root/proc/self/cwd/0915/details_drilldown.php

<?php
echo "<hr>";
echo "the recordID is " . $_REQUEST["id"];

if(empty(trim($_REQUEST["id"]))) {
    echo "Please go through the search page.";
    exit();
}

if($_REQUEST["id"] == "") {
    echo "Please go through the search page.";
    exit();
}
echo "<hr>";


$host = "webdev.iyaclasses.com";
$userid = "[youruserid]";
$userpw = "[yourpw]";
$db = "[database name]";

include '../pdloginvariables.php';

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

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

$sql = "SELECT * FROM movieView2 WHERE dvd_title_id = " . $_REQUEST["id"];

echo $sql;

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

echo "Record details<hr>";

while($currentrow = $results->fetch_assoc()) {
    echo "Title: " . $currentrow["title"] . "<br>";
    echo "Genre: " . $currentrow["genre"] . "<br>";
    echo "Rating: " . $currentrow["rating"] . "<br>";
    echo "Studio: " . $currentrow["label"] . "<br>";
}