• 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.

Comeback với ttit

Kayashiteru

Member
Lâu lắm rồi e k onl diễn đàn vũng không biết là các ae còn onl như trk hay không :p nhân ngày e onl trở lại sẽ hỗ trợ ae làm wap/web.
Diều kiện : mem ttit + host cp11 + like
nếu các bạn k có code mh sẽ lấy trong box share. :D
Nếu ai chưa có host có thể liên hệ vs mh để mua host thông số như trong congnghesoviet.com :D
3Bạn đầu mh sẽ hoàn chỉnh code giúp nếu có lỗi :D
 
có code wap truyện phân chapter ko share phát:)
 
Lâu lắm rồi e k onl diễn đàn vũng không biết là các ae còn onl như trk hay không :p nhân ngày e onl trở lại sẽ hỗ trợ ae làm wap/web.
Diều kiện : mem ttit + host cp11 + like
nếu các bạn k có code mh sẽ lấy trong box share. :D
Nếu ai chưa có host có thể liên hệ vs mh để mua host thông số như trong congnghesoviet.com :D
3Bạn đầu mh sẽ hoàn chỉnh code giúp nếu có lỗi :D
B có code upload nào giống Up.5vn.Org ko share mình với, m có Host rồi. Tiện thể b kiếm cho mình code forum teen bằng XenForo và code web xem phim nha!
 
B có code upload nào giống Up.5vn.Org ko share mình với, m có Host rồi. Tiện thể b kiếm cho mình code forum teen bằng XenForo và code web xem phim nha!
wap upload này share rùi bạn ơi
 
Sr ae nay mới onl dc :D

- - - - - - - - - -

Bác nào muoodn làm pm ib info host vs code nhé :p
 
login/register nhé
Ok, view file đó ra thì ra thế này. B hướng dẫn mình fix với.
Code:
<?php
error_reporting(0);
 $C_IMAGE_TYPE = 'png';
 $C_WIDTH = 80;
 $C_HEIGHT = 50;
 $C_NUM_GENSIGN = 4;
 $path_fonts = 'fonts/';
 
 $EXT = strtoupper($HTTP_GET_VARS['ext']);
 if($EXT=='GIF' || $EXT=='JPEG' || $EXT=='PNG') $C_IMAGE_TYPE = $EXT;
 if(is_numeric($HTTP_GET_VARS['width']) && $HTTP_GET_VARS['width']>100 && $HTTP_GET_VARS['width']<500) $C_WIDTH = $HTTP_GET_VARS['width'];
 if(is_numeric($HTTP_GET_VARS['height']) && $HTTP_GET_VARS['height']>100 && $HTTP_GET_VARS['height']<500) $C_HEIGHT = $HTTP_GET_VARS['height'];
 if(is_numeric($HTTP_GET_VARS['qty']) && $HTTP_GET_VARS['qty']>2 && $HTTP_GET_VARS['qty']<10) $C_NUM_GENSIGN = $HTTP_GET_VARS['qty'];
 
 //session_start();
 session_register('securityCode');
 
 $C_FONT_SIZE = intval($C_HEIGHT/(($C_HEIGHT/$C_WIDTH)*6));
 $C_NUM_SIGN = intval(($C_WIDTH*$C_HEIGHT)/150);
 
 $CODE = array();
 $LETTERS = array('a','b','c','d','e','f','g','h','j','k','m','n','p','q','r','s','t','u','v','w','x','y','z','2','3','4','5','6','7','8','9');
 $FIGURES = array('50','70','90','110','130','150','170','190','210');


 $src = imagecreatetruecolor($C_WIDTH,$C_HEIGHT);
 
 $fon = imagecolorallocate($src,255,255,255);
 imagefill($src,0,0,$fon);


 $FONTS = array();
 $dir=opendir($path_fonts);
 while($fontName = readdir($dir)) {
   if($fontName != "." && $fontName != "..") {
     if(strtolower(strrchr($fontName,'.'))=='.ttf') $FONTS[] = $path_fonts.$fontName;
   }
 }
 closedir($dir);
 
 if(sizeof($FONTS)>0) {
   for($i=0;$i<$C_NUM_SIGN;$i++) {
     $h = 1;
     $color = imagecolorallocatealpha($src,rand(0,255),rand(0,255),rand(0,255),100); 
     $font = $FONTS[rand(0,sizeof($FONTS)-1)];
     $letter = $LETTERS[rand(0,sizeof($LETTERS)-1)];
     $size = rand($C_FONT_SIZE-2,$C_FONT_SIZE+2);
     $angle = rand(0,60);
     if($h == rand(1,2)) $angle = rand(360,300);
     imagettftext($src,$size,$angle,rand($C_WIDTH*0.1,$C_WIDTH-$C_WIDTH*0.1),rand($C_HEIGHT*0.2,$C_HEIGHT),$color,$font,$letter);
   }
   for($i=0;$i<$C_NUM_GENSIGN;$i++) {
     $h = 1;
     $color = imagecolorallocatealpha($src,$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],rand(10,30)); 
     $font = $FONTS[rand(0,sizeof($FONTS)-1)];
     $letter = $LETTERS[rand(0,sizeof($LETTERS)-1)];
     $size = rand($C_FONT_SIZE*2.1-1,$C_FONT_SIZE*2.1+1);
     $x = (empty($x)) ? $C_WIDTH*0.08 : $x + ($C_WIDTH*0.8)/$C_NUM_GENSIGN+rand(0,$C_WIDTH*0.01);
     $y = ($h == rand(1,2)) ? (($C_HEIGHT*1.15*3)/4) + rand(0,$C_HEIGHT*0.02) : (($C_HEIGHT*1.15*3)/4) - rand(0,$C_HEIGHT*0.02);
     $angle = rand(5,20);
     $CODE[] = $letter;
     if($h == rand(0,10)) $letter = strtoupper($letter);
     if($h == rand(1,2)) $angle = rand(355,340);
     imagettftext($src,$size,$angle,$x,$y,$color,$font,$letter);
   }
 } else {
   for($x=0;$x<$C_WIDTH;$x++) {
     for($i=0;$i<($C_HEIGHT*$C_WIDTH)/1000;$i++){
       $color = imagecolorallocatealpha($src,$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],rand(10,30)); 
       imagesetpixel($src,rand(0,$C_WIDTH),rand(0,$C_HEIGHT),$color);
     }
   }
   unset($x,$y);
   for($i=0;$i<$C_NUM_GENSIGN;$i++) {
     $h = 1;
     $color = imagecolorallocatealpha($src,$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],rand(10,30)); 
     $letter = $LETTERS[rand(0,sizeof($LETTERS)-1)];
     $x = (empty($x)) ? $C_WIDTH*0.08 : $x + ($C_WIDTH*0.8)/$C_NUM_GENSIGN+rand(0,$C_WIDTH*0.01);
     $y = ($h == rand(1,2)) ? (($C_HEIGHT*1)/4) + rand(0,$C_HEIGHT*0.1) : (($C_HEIGHT*1)/4) - rand(0,$C_HEIGHT*0.1);
     $CODE[] = $letter;
     if($h == rand(0,10)) $letter = strtoupper($letter);
     imagestring($src,5,$x,$y,$letter,$color);
   }
 }
 $HTTP_SESSION_VARS['securityCode'] = implode('',$CODE);
 $_SESSION['securityCode'] = implode('',$CODE);


 header ("Content-type: image/png"); 
 imagepng($src);
   
 imagedestroy($src);
?>
 
Last edited:
Ok, view file đó ra thì ra thế này. B hướng dẫn mình fix với.
Code:
<?php
error_reporting(0);
 $C_IMAGE_TYPE = 'png';
 $C_WIDTH = 80;
 $C_HEIGHT = 50;
 $C_NUM_GENSIGN = 4;
 $path_fonts = 'fonts/';
 
 $EXT = strtoupper($HTTP_GET_VARS['ext']);
 if($EXT=='GIF' || $EXT=='JPEG' || $EXT=='PNG') $C_IMAGE_TYPE = $EXT;
 if(is_numeric($HTTP_GET_VARS['width']) && $HTTP_GET_VARS['width']>100 && $HTTP_GET_VARS['width']<500) $C_WIDTH = $HTTP_GET_VARS['width'];
 if(is_numeric($HTTP_GET_VARS['height']) && $HTTP_GET_VARS['height']>100 && $HTTP_GET_VARS['height']<500) $C_HEIGHT = $HTTP_GET_VARS['height'];
 if(is_numeric($HTTP_GET_VARS['qty']) && $HTTP_GET_VARS['qty']>2 && $HTTP_GET_VARS['qty']<10) $C_NUM_GENSIGN = $HTTP_GET_VARS['qty'];
 
 //session_start();
 session_register('securityCode');
 
 $C_FONT_SIZE = intval($C_HEIGHT/(($C_HEIGHT/$C_WIDTH)*6));
 $C_NUM_SIGN = intval(($C_WIDTH*$C_HEIGHT)/150);
 
 $CODE = array();
 $LETTERS = array('a','b','c','d','e','f','g','h','j','k','m','n','p','q','r','s','t','u','v','w','x','y','z','2','3','4','5','6','7','8','9');
 $FIGURES = array('50','70','90','110','130','150','170','190','210');


 $src = imagecreatetruecolor($C_WIDTH,$C_HEIGHT);
 
 $fon = imagecolorallocate($src,255,255,255);
 imagefill($src,0,0,$fon);


 $FONTS = array();
 $dir=opendir($path_fonts);
 while($fontName = readdir($dir)) {
   if($fontName != "." && $fontName != "..") {
     if(strtolower(strrchr($fontName,'.'))=='.ttf') $FONTS[] = $path_fonts.$fontName;
   }
 }
 closedir($dir);
 
 if(sizeof($FONTS)>0) {
   for($i=0;$i<$C_NUM_SIGN;$i++) {
     $h = 1;
     $color = imagecolorallocatealpha($src,rand(0,255),rand(0,255),rand(0,255),100); 
     $font = $FONTS[rand(0,sizeof($FONTS)-1)];
     $letter = $LETTERS[rand(0,sizeof($LETTERS)-1)];
     $size = rand($C_FONT_SIZE-2,$C_FONT_SIZE+2);
     $angle = rand(0,60);
     if($h == rand(1,2)) $angle = rand(360,300);
     imagettftext($src,$size,$angle,rand($C_WIDTH*0.1,$C_WIDTH-$C_WIDTH*0.1),rand($C_HEIGHT*0.2,$C_HEIGHT),$color,$font,$letter);
   }
   for($i=0;$i<$C_NUM_GENSIGN;$i++) {
     $h = 1;
     $color = imagecolorallocatealpha($src,$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],rand(10,30)); 
     $font = $FONTS[rand(0,sizeof($FONTS)-1)];
     $letter = $LETTERS[rand(0,sizeof($LETTERS)-1)];
     $size = rand($C_FONT_SIZE*2.1-1,$C_FONT_SIZE*2.1+1);
     $x = (empty($x)) ? $C_WIDTH*0.08 : $x + ($C_WIDTH*0.8)/$C_NUM_GENSIGN+rand(0,$C_WIDTH*0.01);
     $y = ($h == rand(1,2)) ? (($C_HEIGHT*1.15*3)/4) + rand(0,$C_HEIGHT*0.02) : (($C_HEIGHT*1.15*3)/4) - rand(0,$C_HEIGHT*0.02);
     $angle = rand(5,20);
     $CODE[] = $letter;
     if($h == rand(0,10)) $letter = strtoupper($letter);
     if($h == rand(1,2)) $angle = rand(355,340);
     imagettftext($src,$size,$angle,$x,$y,$color,$font,$letter);
   }
 } else {
   for($x=0;$x<$C_WIDTH;$x++) {
     for($i=0;$i<($C_HEIGHT*$C_WIDTH)/1000;$i++){
       $color = imagecolorallocatealpha($src,$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],rand(10,30)); 
       imagesetpixel($src,rand(0,$C_WIDTH),rand(0,$C_HEIGHT),$color);
     }
   }
   unset($x,$y);
   for($i=0;$i<$C_NUM_GENSIGN;$i++) {
     $h = 1;
     $color = imagecolorallocatealpha($src,$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],$FIGURES[rand(0,sizeof($FIGURES)-1)],rand(10,30)); 
     $letter = $LETTERS[rand(0,sizeof($LETTERS)-1)];
     $x = (empty($x)) ? $C_WIDTH*0.08 : $x + ($C_WIDTH*0.8)/$C_NUM_GENSIGN+rand(0,$C_WIDTH*0.01);
     $y = ($h == rand(1,2)) ? (($C_HEIGHT*1)/4) + rand(0,$C_HEIGHT*0.1) : (($C_HEIGHT*1)/4) - rand(0,$C_HEIGHT*0.1);
     $CODE[] = $letter;
     if($h == rand(0,10)) $letter = strtoupper($letter);
     imagestring($src,5,$x,$y,$letter,$color);
   }
 }
 $HTTP_SESSION_VARS['securityCode'] = implode('',$CODE);
 $_SESSION['securityCode'] = implode('',$CODE);


 header ("Content-type: image/png"); 
 imagepng($src);
   
 imagedestroy($src);
?>
bình thường mà? Chắc lỗi font rùi. Cuả mh vẫn reg nick bình thường. B dùng code cuả mình nè: demo luôn đó http://tainhac.hj.cx/x-upload.zip
 

Facebook Comments

Similar threads
Thread starter Title Forum Replies Date
katy Android Xưng danh "Nhà sáng tạo của năm" với gói cước tự tạo MM trên My MobiFone Điện thoại di động 17
katy Android Gói cước MBF30 – Lướt mạng thả ga chỉ với 30k/tuần Điện thoại di động 8
katy Android MobiFone tung gói cước MFV250 với liên hoàn deal hot Điện thoại di động 25
L Xin Có bác nào còn con cc live nào ko cho e vào tn với Security - Local - Hacking 0
katy Android Học Tiếng Anh chuẩn quốc tế không khó với MobiEnglish Điện thoại di động 10
katy Android Tự tạo gói cước đơn giản, dễ dàng phù hợp với nhu cầu chỉ có trên My MobiFone Điện thoại di động 38
katy Android Gói cước D5 MobiFone - Tiếp tục Online với mức giá siêu tiết kiệm Điện thoại di động 4
katy Android Thỏa sức data, xem phim cực đã với ClipTV của MobiFone Điện thoại di động 10
katy Android Duy trì gia hạn gói cước MobiFoneGo nhận ưu đãi bất ngờ với giá không đổi Điện thoại di động 10
katy Android Mua sắm với VNPAY nhận ngay 200K tại cửa hàng MobiFone Điện thoại di động 9
F [ƯU ĐÃI] TỐC ĐỘ TẢI KHỦNG VỚI GÓI FSHARE DOWNLOAD Tin tức, sự kiện thường ngày 0
katy Android Quản lý thuê bao tất cả trong một với My MobiFone phiên bản 4.0 Điện thoại di động 4
katy Android Dùng thả ga không lo hết data với gói cước LH2D của Mobifone Điện thoại di động 10
katy Android Yên tâm ra đường với bảo hiểm ô tô PVI - Mua ngay trên My MobiFone Điện thoại di động 4
katy Android Nhận ngay 4GB với cước phí chỉ 10k/ngày khi đăng ký gói D10 Mobifone Điện thoại di động 14
F BLACK FRIDAY | Thứ 6 đen tối DEAL ngập lối với VIP Fshare Tin tức, sự kiện thường ngày 0
katy Android Gói D10 MobiFone – Đăng ký nhận ngay 4GB với chỉ 10.000 đ/ngày Điện thoại di động 10
katy Android Bùng nổ data, nghe nhạc cực cháy với gói cước MVV của MobiFone chỉ 6K/ngày Điện thoại di động 6
katy Android MyPoint tặng khách hàng Hộp quà bí ẩn với tỉ lệ trúng thưởng 100% Điện thoại di động 10
katy Android Nhận 180GB/tháng và 1000 phút thoại nội mạng chỉ 120k với gói C120K MobiFone Điện thoại di động 24
katy Android MobiFone tung gói cước khủng tri ân khách hàng chỉ với 27k Điện thoại di động 10
katy Android Dịch vụ ClipTV: THOẢI MÁI LƯỚT DATA – CHỈ VỚI 6K Điện thoại di động 4
katy Android Du xuân thả ga không lo hết data với gói cước D30 của MobiFone Thông tin các mạng di động 10
Thichquangboom Tri ân rộn ràng – Hàng ngàn quà tặng, hái lộc đầu năm với quà tặng trị giá 1.500.000 Tin tức CNTT 0
katy Android Đón Tết cực vui với gói cước data ‘khủng’ từ MobiFone Thông tin các mạng di động 2
tunglamed Đón Tết an vui với gói cước data ‘khủng’ từ MobiFone Điện thoại di động 12
F Hướng dẫn xây dựng rạp phim tại nhà với Kodi Tin khoa học, sản phẩm mới 1
tunglamed Nâng đời iPhone 13 chính hãng với giá chỉ từ 21.590.000 đồng Điện thoại di động 2
tunglamed Đón iPhone 12 Pro Max về nhà với chương trình “Chia sẻ cùng MobiFone” Điện thoại di động 11
tunglamed Học hè bổ ích và thú vị với gói học tập MobiEdu của MobiFone Điện thoại di động 6
tunglamed MobiFone ra mắt ví điện tử MobiFone Pay – Thanh toán nhanh, gọn với nhiều tiện ích Điện thoại di động 8
tunglamed Xem Euro thả ga, Chả lo Data với gói ON30 chỉ 30k/tháng của MobiFone Điện thoại di động 9
tunglamed Chơi game mọi lúc, mọi nơi cùng gói cước Game Data GD1 chỉ với 2K/ ngày Điện thoại di động 13
tunglamed Thả ga giải trí, học hành với gói cước HSV50 của MobiFone chỉ 50k/tháng Điện thoại di động 2
tunglamed Giải nhiệt mùa hè với khuyến mãi 20% nạp tiền trả trước từ MobiFone Điện thoại di động 14
tunglamed Đăng ký Data – Xài mạng thả ga với gói cước D15 Điện thoại di động 2
V Thảo luận Kiếm tiền nhanh với website của bạn. Thảo luận SEO 0
tunglamed Sở hữu siêu phẩm Samsung Galaxy S21 với chương trình ưu đãi “Cực Sốc” từ MobiFone Điện thoại di động 0
tunglamed Tiếp tục triển khai đổi eSim tại nhà không cần đi đâu xa với My MobiFone Điện thoại di động 9
tunglamed Chào đón tháng mới đầy năng lượng và hứng khởi với chương trình khuyến mãi ngày vàng của MobiFone Điện thoại di động 0
cuongpro9x Kiếm tiền Youtube với Phim Hoạt Hình 2D làm bằng phần mềm Camtasia Studio Thiết kế đồ họa 1
tunglamed Lướt mạng 4G thả ga chỉ với 5K Điện thoại di động 1
tunglamed Gọi miễn cước - Rước thêm mười nghìn với dịch vụ 8Friend Điện thoại di động 0
tunglamed MobiFone bán Samsung Galaxy A11 với giá chỉ 290.000đ, khi mua kèm gói cước Điện thoại di động 0
tunglamed MobiFone cung cấp gói cước G80 trên ứng dụng Mobifone Go với nhiều ưu đãi Điện thoại di động 0
tunglamed Quản lý truy cập internet với Kyzpro cùng MobiFone Điện thoại di động 7
tunglamed Đăng ký Tiktok90 với ưu đãi cực khủng từ MobiFone Điện thoại di động 2
tunglamed Chào hè với khuyến mại nạp thẻ tháng 5 của MobiFone Thông tin các mạng di động 0
Admin Mô Hình Web Server Load Balancing Giá Rẻ Với DigitalOcean VPS & Dedicated Server 0
tunglamed Giải trí “thả ga” không lo data với gói Tiktok90 của MobiFone Thông tin các mạng di động 2

Similar threads

New posts New threads New resources

Back
Top