Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if (isset($_POST['order'])) {
- date_default_timezone_set("Asia/Jakarta");
- $date = date("Y-m-d");
- $time = date("h:i:s");
- $host = "localhost";
- $user = "root";
- $pass = "";
- $db = "test";
- $konek = mysql_connect($host, $user, $pass) or die ('Koneksi Gagal! ');
- mysql_select_db($db);
- $username = explode("\r\n", $_POST['username']);
- $jumlah = explode("\r\n", $_POST['jumlah']);
- $service_id = explode("\r\n", $_POST['service_id']);
- $array = array(
- array('$username', '$jumlah', '$service_id'),
- );
- $send = mysql_query("INSERT INTO order(username, jumlah, service_id) VALUES ('$array[1]','$array[2]','$array[3]')");
- if($send) {
- echo "Data berhasil disimpan";
- } else {
- echo "Data gagal disimpan";
- } } ?>
- <html>
- <head>
- <title>DefacerID Mass Notifier</title>
- </head>
- <center>
- <form method='POST' action=''>
- Attacker : <br><textarea class='form-control con7' type='text' name='username' placeholder='isiin nickmu'></textarea><br>
- jumlah : <br><textarea type='text' name='jumlah' placeholder='isiin teammu'></textarea><br>
- Sites : <br><textarea class='form-control con7' name="service_id" placeholder="http://korban.com/" cols='50' rows='12'></textarea><br>
- <input type='submit' name='order' value='Submit!!'>
- </form>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement