• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Admin

Well-Known Member
Staff member
Administrator
Tạo tập tin tuoitreit_them.php dán code này vào
PHP:
<?php
$submit=$_POST["submit"];
if(!$submit){echo'<form method="post" enctype="multipart/form-data"><font color="blue">Tải lên tập tin zip html:<br/><input type="file" name="file"><br/>Nhập địa chỉ:</font><br><input type="text" name="link" value="http://">
<br>Nhập code head <input type="text" name="head"><br>Nhập code foot <input type="text" name="foot"><br><input type="submit" name="submit" value="Thêm"></form><br>';}else{$file=$_FILES['file']['name'];
$link=$_POST['link'];
$head=$_POST['head'];
$foot=$_POST['foot'];
if($file){$type=$_FILES['file']['type'];
if(($type!="application/zip")){echo'<font color="purple">Định dạng tập tin không hợp lệ</font>';
exit("</body></html>");}

$file=str_replace(' ','_',$file);
$file=rand(100,900).'_'.$file;
move_uploaded_file($_FILES['file']['tmp_name'],"file/".$file);}
if(($link)&&($link!="http://")){$file=basename($link);

$ex=explode('.',$file);
if(end($ex)!='zip'){echo'<font color="green">Địa chỉ không hợp lệ</font><br>';
exit("</body></html>");}else{$file=rand(100,900).'_'.$file;
copy($link,"file/".$file);}}
if($file){$zip=new ZipArchive();
if($zip->open('file/'.$file)===TRUE){$zip1=zip_open('file/'.$file);
if($zip1){while($entry=zip_read($zip1)){$name=zip_entry_name($entry);
$size=zip_entry_filesize($entry);
$noidung=zip_entry_read($entry,$size);
$nd=$head.$noidung.$foot;
$zip->addFromString($name,$nd);}
zip_close($zip1);}
$zip->addFromString('tuoitreit.html',$head.'tuoitreit.vn'.$foot);
$zip->close();
$down='file/'.$file;
echo
'<font color="blue"><a href="'.$down.'">Tải về </a></font><br>Đã thêm head foot thành công';}else{echo'<br><br><font color="red">Thêm head foot thất bại</font>';}}}
?>
Lưu lại là xong
Chúc các bạn thành công!
 
Solovekui post 20 top có ích trừ news em nhé
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
Admin Hướng dẫn thêm nút chọn "select all" cho code, php, html vbb 4.1.x Vbulletin 1
Admin Yilmaz - Hide [code,php,html] content from guests (vb5.6.x) Add-ons 0
Vtkun Xin giải mã code php Thảo luận chung 0
Admin Share code php check rank Việt Nam và thế giới từ Alexa PHP 0
T Share Code PHP HảiCMS giao diện BĐS Mã nguồn web 0
C Hỏi Cách tạo hosting trên winserver 2008R2 chạy code php và worpress Hỏi đáp về domain & hosting 0
thanhchiit Share Code PHP Hiển Thị Ping MS cho Web/Wap Mã nguồn wap 5
K Share Code PHP hạn chế tấn công DDOS PHP 4
D Xin code php Mã nguồn web 0
blog4me Share Code web đọc truyện online PHP Mã nguồn web 22
H Share code tạo ảnh chữ lồng php và html All Shared Scripts 3
H Share code php lấy ảnh avatar teamobi All Shared Scripts 1
K Help Ai giúp mình sửa code php này PHP 0
T Share code wap chat PHP v1.3 PHP 0
Tuzoro Share code online php cho wap web Mã nguồn wap 0
T xin code auto wap/wed php mong admin, mod giúp Thảo luận wap việt 2
N Hỏi xin code web quản lí tour du lịch bằng php Mã nguồn web 0
Tuzoro Share Code PHP đóng dấu ảnh logo vào Java All Shared Scripts 0
Admin Share code php mã hóa và giải mã cơ số 64 - encode and decode base64 PHP 1
Admin Share code php chuyển đổi các hệ cơ số PHP 0
Admin Share code php tạo album ảnh online Mã nguồn web 0
Admin Share code php đổi .jar thành _jar Mã nguồn wap 0
tubotocdo Share Code Php Mod Style Soft Java Khi Truy Cập Tập Tin Mã nguồn wap 1
Admin Xenplaza – Select ALL & Clipboard: CODE, PHP, HTML Xenforo 0
Admin Share code web bán sách bằng php Mã nguồn web 1
Admin Share code php hiện quảng cáo ngẫu nhiên Mã nguồn wap 0
Admin Share code php crack sms kichhoat.net Mã nguồn wap 0
Admin Share code php leech fshare.vn, 4share.vn, mediafire.com Mã nguồn web 7
Admin Share code php tạo file index cho thư mục chưa có Mã nguồn wap 2
Admin Share code php đóng dấu văn bản cho ảnh PHP 0
Admin Share code php đăng nhập facebook PHP 2
Admin Share code tạo album ảnh đẹp (jquery + css3 + php) Mã nguồn web 0
Admin Share code php show bài viết chuyên mục có chia trang PHP 0
A Share Code PHP Tạo Logo "Angry Birds" By Nguyên Ary Mã nguồn wap 1
D Share Code tra từ điển nhỏ gọn php All Shared Scripts 0
Admin Ebook hướng dẫn làm forum bằng php và mysql kèm theo source code full PHP 0
Admin Share code gửi mail bằng php và java Mã nguồn web 1
Admin Share code php extract email từ wordpress, joomla, opencart, whmcs Hacking 0
Admin Share code php bạn đến từ đâu Mã nguồn wap 0
Admin Improved templates for [code], [html] and [php] bbcodes Vbulletin 0
Admin Share code php giải nén .rar Mã nguồn wap 0
Admin Share code quản lí file php không cần đăng nhập ftp Mã nguồn wap 1
Admin Share code crack sms game, ứng dụng bằng php Mã nguồn wap 0
Admin Share code quản lý sinh viên bằng php cho người mới học Mã nguồn web 1
Admin Short.Url.Script.v2.1.PHP.NULL-DGT - Code rút gọn link Mã nguồn web 0
E Ai cho mình xin code php import files PHP 3
Admin Change CODE and PHP tags design Add-ons 0
Myshare Share Code php đóng dấu ảnh đơn giản All Shared Scripts 1
Admin Share code php đơn giản leech file dung lượng lớn PHP 3
T Share Code php zip file online All Shared Scripts 5

Similar threads

New posts New threads New resources

Back
Top