|
 |
|
ช่วยดูหน่อยครับ แสดงข้อมูลไม่ตรงตำแหน่ง ไม่รู้ว่าจะตั้งกระทู้ว่าอะไรดี คือ ผมหน้า contact |
|
 |
|
|
 |
 |
|
ถ้าดูจากโค้ดหน้านี้ไม่น่าจะมีอะไรผิดพลาดนะครับ
|
 |
 |
 |
 |
Date :
2009-09-23 10:39:40 |
By :
NanoTHoro |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ผมก็ว่าอย่างั้นแหล่ะครับ แต่มันก็เป็นดังรูปข้างบนอ่ะครับ ผมก็งง
|
 |
 |
 |
 |
Date :
2009-09-23 10:41:45 |
By :
แบท |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ขอดูโค้ดเวอร์ติฟายหน่อยได้ไหมครับ
|
 |
 |
 |
 |
Date :
2009-09-23 10:48:53 |
By :
NanoTHoro |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ไม่รอดูแล้ว ลองเอาตัวนี้ไปเปรียบเทียบละกันนะครับ
<?
session_start();
$text = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
$rand = substr(str_shuffle($text), 0, 6);
$_SESSION['VertifyValue'] = $rand;
$im = imagecreatefrompng("image/bg-vertify.png");
$textcolor = imagecolorallocate($im, 0, 0, 0);
imagestring($im, 5, 14, 5, $rand, $textcolor);
header('Content-type: image/jpeg');
imagejpeg($im);
imagedestroy($im);
?>
|
 |
 |
 |
 |
Date :
2009-09-23 10:53:15 |
By :
NanoTHoro |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
Code (PHP)
<?php
session_start();
header ("Content-type: image/jpeg");
$rno = rand(10000,99999);
$_SESSION['ckey'] = md5($rno);
$img_handle = imagecreatefromjpeg("images/bg.jpg");
$color = imagecolorallocate ($img_handle, 0, 0, 0);
//ImageString ($img_handle, 5, 20, 13, $rno, $color);
imagestring ($img_handle, 50, 14, 5, $rno, $color);
imagepng ($img_handle);
imagedestroy ($img_handle);
?>
|
 |
 |
 |
 |
Date :
2009-09-23 10:53:38 |
By :
แบท |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 02
|