Finger_bottom
Semprot Holic
- Daftar
- 23 Jun 2017
- Post
- 325
- Like diterima
- 155
REVIEW :
LINK DEMO
cara pake : tinggal copas aja url photo trus klik proses / get ntar kan keluar generate buat downloadnya.
LINK DOWNLOAD : http://www.mediafire.com/file/qofab4r4kbu7ffa/igdownload.zip
cara instal : HOST -> FTP
pertama dapat ide dari temen cewe ane yang tanya gimana caranya download video di instagram pacarnya doi.trus ane coba download dari instgram ternyata emang gak ada link buat download .trus nubi coba oprek oprek.
kurang lebih codenya cuman ini :
untuk file .PHP ada [GET][GRAB][HEADER][INDEX][SUBMIT/PROSES] :
[GET.php]
[GRAB.php]
[HEADER.php]
[INDEX.php]
[SUBMIT.php]
NAH UDAH SELESAI ...
PROMOSI
Barusan Bikin POS, Jika Ada yang Minat Buat Usahanya :
Link Demo username : admin password : admin
SUDAH RESPONSIVE [PC or ANDROID]
LINK DEMO
cara pake : tinggal copas aja url photo trus klik proses / get ntar kan keluar generate buat downloadnya.
LINK DOWNLOAD : http://www.mediafire.com/file/qofab4r4kbu7ffa/igdownload.zip
cara instal : HOST -> FTP
pertama dapat ide dari temen cewe ane yang tanya gimana caranya download video di instagram pacarnya doi.trus ane coba download dari instgram ternyata emang gak ada link buat download .trus nubi coba oprek oprek.
kurang lebih codenya cuman ini :
untuk file .PHP ada [GET][GRAB][HEADER][INDEX][SUBMIT/PROSES] :
[GET.php]
Code:
<?PHP
// Define the path to file
function sebelum($string, $substring) {
$pos = strpos($string, $substring);
if ($pos === false)
return $string;
else
return(substr($string, 0, $pos));
}
$url = $_GET['url'];
$file = sebelum($url, "?ig_cache_key=");
$name = basename ($file);
if(!file)
{
// File doesn't exist, output error
die('file not found');
}
else
{
// Set headers
header("Pragma: public"); // wtf?
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
// omg what have you been reading?
header("Cache-Control: private",false);
// obviously not rfc 2616
header("Content-Type: image/jpg");
header("Content-Disposition: attachment; filename=\"".basename($name)."\";" );
header("Content-Transfer-Encoding: binary");
ob_clean();
flush();
// Read the file from disk
readfile($file);
}
?>
[GRAB.php]
Code:
<br>
<?php
error_reporting(0);
if(isset($_POST['url'])) {
$urlmedia = $_POST['url'];
$get = file_get_contents('http://api.instagram.com/oembed/?url='.$urlmedia);
if(preg_match('#provider_url#',$get)) {
$obj = json_decode($get,true);
$media = $obj['media_id'];
$author = $obj['author_name'];
$gambar = $obj['thumbnail_url'];
$embed = $obj['html'];
$authid = $obj['author_id'];
$authlink = $obj['author_url'];
$res1 = '
<div class="col-lg-5">
<div class="panel panel-warning">
<div class="panel-heading">
<h3 class="panel-title">
Preview
</h3>
</div>
<div class="panel-body">
'.$embed.'
</div>
</div>
</div>
';
$res2 = '
<div class="col-lg-7">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">
Photo Information
</h3>
</div>
<div class="panel-body">
<table class="table table-bordered table-hover">
<tbody>
<tr>
<td>MEDIA ID</td>
<td><font color=green>'.$media.'</font></td>
</tr>
<tr>
<td>USERNAME</td>
<td><font color=green>@'.$author.'</font></td>
</tr>
<tr>
<td>USER ID</td>
<td><font color=green>'.$authid.'</font></td>
</tr>
<tr>
<td>USER URL</td>
<td><font color=green>'.$authlink.'</font></td>
</tr>
<tr>
<td style="margin-top:10px;">DOWNLOAD</td>
<td>
<form target="_blank" action="get.php?url='.$gambar.'" method="post">
<input style="padding:5px;width:400px;text-align:center" class="btn btn-danger btn-block" type="submit" name="ambil" value="DOWNLOAD INSTAGRAM PHOTO">
</form>
</td>
</tr>
</tbody>
</table>
</div> </div> </div>
';
}else {
$res1 = '
<div style="border-radius:0px;padding:4px" class="alert alert-danger">
<center><strong>FAILED !</strong> Tidak ada MEDIA pada link yang dimasuk kan, cek kembali URL MEDIA. Ini terjadi mungkin karena URL MEDIA Tidak Valid.
';
$res2 = '
Atau akun yang ingin anda ambil gambarnya dalam mode Private, pastikan akun Pemilik URL Media tersebut dalam mode public.
</center>
</div>
';
}
}
?>
<div class="container">
<?php
echo $res1;
echo $res2; ?>
</div>
</body>
</html>
[HEADER.php]
Code:
<head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Instagram Photo Downloader</title>
<link rel="Shortcut Icon" type="image/x-icon" href="//instagramstatic-a.akamaihd.net/bluebar/97ef9c7/images/ico/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="css/boots.css" />
</head>
<style>
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
position: relative;
min-height: 1px;
max-height: 500px;
padding-right: 15px;
padding-left: 15px;
}
.form-control {
display:initial;
width: 84%;
height: 34px;
padding: 6px 6px;
font-size: 14px;
line-height: 1.42857143;
color: #555;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;}
.btn-block {
display: initial;
width: 100%;
}
input[type=submit].btn-block {
width: 12%;
}
</style>
<body>
<div class="container">
<Center><h1>RESERVED by @OZYNX</h1><hr></center>
</div><br>
[INDEX.php]
Code:
<?php
include('header.php');
include('submit.php');
include('grab.php');
?>
[SUBMIT.php]
Code:
<center>
<div class="container">
<form method="post" action="" enctype="multipart/form-data">
<div class="form-group">
<input placeholder="https://www.instagram.com/p/BGZ0fAZrFbu/?taken-by=kendri0x" type="text" class="form-control" name="url" autofocus>
<input type="submit" name="submit" class="btn btn-info btn-block" value="GET">
</div>
</form>
</div></center>
NAH UDAH SELESAI ...
PROMOSI
Barusan Bikin POS, Jika Ada yang Minat Buat Usahanya :
Link Demo username : admin password : admin
SUDAH RESPONSIVE [PC or ANDROID]
Terakhir diubah: