Chia sẻ trang này:
Code bị gì đây. Pro php fix
24.09.2015 / 08:21 #8429
| Trần Phú Hiền 3 |
Code này bị j mà dùng hôst one.com thì được, host khác ko load được trang vậy anh em
<?php
header ('Content-type: image/jpeg');
$lg = imagecreate(4,4);
imagecolorallocate($lg,42,194,42);
imagejpeg($lg);
include 'function.php';
$url = $_GET["url"];
$tenbv = $_GET["name"];
$tenfile = rwurl($tenbv);
$tentp = cvnokia($tenbv);
$auto = 'http://auto';
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, 'NokiaN73-2/3.0-630.0.2 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 ');
curl_setopt($ch, CURLOPT_URL, $auto);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie00x.txt');
curl_exec($ch);
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie00x.txt');
curl_setopt($ch, CURLOPT_URL, 'http://xtgem.com/filebrowser?a=&f=&file=/');
$nd1 = curl_exec($ch);
preg_match('#token=(.*?)&#is', $nd1, $matoken);
$token = @$matoken[1];
curl_setopt($ch, CURLOPT_URL, 'http://xtgem.com/filebrowser/file_save?__token='.$token.'&act=edit_file&file=/_xtgem_templates/data/'.$tenfile);
curl_setopt($ch, CURLOPT_POSTFIELDS, array('value' => $url, 'submit' => 'Save'));
curl_exec($ch);
sleep(1);
curl_setopt($ch, CURLOPT_URL, 'http://xtgem.com/filebrowser/file_save?__token='.$token.'&act=edit_file&file=/_xtgem_templates/ten/'.$tenfile);
curl_setopt($ch, CURLOPT_POSTFIELDS, array('value' => $tentp, 'submit' => 'Save'));
curl_exec($ch);
sleep(1);
$f = fopen('bmt.txt',a);
$bmt=file_get_contents('bmt.txt');
if(!stripos($bmt,$tenfile)) {
fwrite($f,"@$tenfile");
}
fclose($f);
$bmt = file_get_contents('./bmt.txt', true);
curl_setopt($ch, CURLOPT_URL, 'http://xtgem.com/filebrowser/file_save?__token='.$token.'&act=edit_file&file=/_xtgem_templates/bv.js');
curl_setopt($ch, CURLOPT_POSTFIELDS, array('value' => $bmt, 'submit' => 'Save'));
curl_exec($ch);
curl_close($ch);
?>
<?php
header ('Content-type: image/jpeg');
$lg = imagecreate(4,4);
imagecolorallocate($lg,42,194,42);
imagejpeg($lg);
include 'function.php';
$url = $_GET["url"];
$tenbv = $_GET["name"];
$tenfile = rwurl($tenbv);
$tentp = cvnokia($tenbv);
$auto = 'http://auto';
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, 'NokiaN73-2/3.0-630.0.2 Series60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1 ');
curl_setopt($ch, CURLOPT_URL, $auto);
curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie00x.txt');
curl_exec($ch);
curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie00x.txt');
curl_setopt($ch, CURLOPT_URL, 'http://xtgem.com/filebrowser?a=&f=&file=/');
$nd1 = curl_exec($ch);
preg_match('#token=(.*?)&#is', $nd1, $matoken);
$token = @$matoken[1];
curl_setopt($ch, CURLOPT_URL, 'http://xtgem.com/filebrowser/file_save?__token='.$token.'&act=edit_file&file=/_xtgem_templates/data/'.$tenfile);
curl_setopt($ch, CURLOPT_POSTFIELDS, array('value' => $url, 'submit' => 'Save'));
curl_exec($ch);
sleep(1);
curl_setopt($ch, CURLOPT_URL, 'http://xtgem.com/filebrowser/file_save?__token='.$token.'&act=edit_file&file=/_xtgem_templates/ten/'.$tenfile);
curl_setopt($ch, CURLOPT_POSTFIELDS, array('value' => $tentp, 'submit' => 'Save'));
curl_exec($ch);
sleep(1);
$f = fopen('bmt.txt',a);
$bmt=file_get_contents('bmt.txt');
if(!stripos($bmt,$tenfile)) {
fwrite($f,"@$tenfile");
}
fclose($f);
$bmt = file_get_contents('./bmt.txt', true);
curl_setopt($ch, CURLOPT_URL, 'http://xtgem.com/filebrowser/file_save?__token='.$token.'&act=edit_file&file=/_xtgem_templates/bv.js');
curl_setopt($ch, CURLOPT_POSTFIELDS, array('value' => $bmt, 'submit' => 'Save'));
curl_exec($ch);
curl_close($ch);
?>
24.09.2015 / 14:34 #8435
| ๖ۣۜĐặng ๖ۣۜTiến ๖ۣۜThịnh 793 |
bmt24h (24.09.2015 / 08:21)
Code này bị j mà dùng hôst one.com thì được, host khác ko load được trang vậy anh em
<?php
header ('Content-type: image/jpeg');
$lg = imagecreate(4,4);
imagecolorallocate($lg,42,194,42)Code auto upload xtgem hả bạn, nếu mà có host chạy được thì mấy host kia của bạn bị chặn hàm hoặc yếu quá thôi chứ ko lỗi code đâu
Code này bị j mà dùng hôst one.com thì được, host khác ko load được trang vậy anh em
<?php
header ('Content-type: image/jpeg');
$lg = imagecreate(4,4);
imagecolorallocate($lg,42,194,42)Code auto upload xtgem hả bạn, nếu mà có host chạy được thì mấy host kia của bạn bị chặn hàm hoặc yếu quá thôi chứ ko lỗi code đâu
24.09.2015 / 15:25 #8438
| Trần Phú Hiền 3 |
admin (24.09.2015 / 14:34)
Code auto upload xtgem hả bạn, nếu mà có host chạy được thì mấy host kia của bạn bị chặn hàm hoặc yếu quá thôi chứ ko lỗi code đâuCode tạo file thôi. Mà openshift cũg k đc.
Code auto upload xtgem hả bạn, nếu mà có host chạy được thì mấy host kia của bạn bị chặn hàm hoặc yếu quá thôi chứ ko lỗi code đâuCode tạo file thôi. Mà openshift cũg k đc.
Lượt Xem: 725 Trả Lời: 2
Chủ đề cùng chuyên mục:
» Share Code JS Auto Cập Nhật Tin Khuyến Mại 3 Nhà Mạng [Lượt xem: 614]
» [Share] Code Forum Xtgem DDVP [Lượt xem: 485]
» Cùng Học PHP 3 [Lượt xem: 1318]
» Share Code Js Copy Văn Bản Cho Wap Cực Pro [Lượt xem: 437]
» [Share] Code CongDongIT 2015 Lọc Full 9MB by Hoakey [Lượt xem: 1404]
Bạn đã xem chưa:
» [TCTH] Bài Ca Con Chó [Lượt xem: 1154]
» Tải game Hit my Ass - game 18+ [Lượt xem: 247]
» Hosting, Reseller cPanel giá rẻ [Lượt xem: 498]
» Tổng hợp câu đố dân gian hay [Lượt xem: 843]
» Mở lớp nghiệp vụ khai hải quan điện tử tại Hà Nội, TP HCM [Lượt xem: 383]
Sắp xếp theo thứ tự từ trên xuống


