IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası

IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası (https://www.ircforumlari.net/)
-   PHP (https://www.ircforumlari.net/php/)
-   -   [PHP] Guvenlik Kodu Resmi Yapalım (https://www.ircforumlari.net/php/40304-php-guvenlik-kodu-resmi-yapalim.html)

Julw 03 Kasım 2007 03:09

[PHP] Guvenlik Kodu Resmi Yapalım
 
Kodlar:
<?php
// Developed By ......

// Getting the Security Code and Image Structure
$intCodeLen = 8;
$intCodeStart = rand(1,24);
$intParalellism = rand(1,10);
$randomCode = md5(rand(0,500));
$securityCode = substr($randomCode,$intCodeStart,$intCodeLen);
$intX = 140;
$intY = 50;
$ttfFile = ’harrison.ttf’;
// Changing the Content Type For image/png
header("Content-type: image/png");
// Creating Image
$imageObject = imagecreatetruecolor($intX, $intY);
$whiteConst = imagecolorallocate($imageObject, 255, 255, 255);
$blackConst = imagecolorallocate($imageObject,0,0,0);
imagefilledrectangle($imageObject, 0, 0, 399, 50, $whiteConst);
// Write Security Code to Image
imagettftext($imageObject, 22, $intParalellism, 20, 40, $blackConst, $ttfFile, $securityCode);
// Set the New Image
imagepng($imageObject);
imagedestroy($imageObject);
?>


Örnek:
[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]

Gereken Tum Dosyalar:
[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]

suleyman1 25 Ocak 2009 17:49

Cevap: [PHP] Guvenlik Kodu Resmi Yapalım
 
arkadasım bana zubeyde.com/uyeol.php dekı guvenlık kodu lazım bunu nerden bulabılırım sıtenın aynısını yazdım faka bunu yazamadım bana yardım cı olurmusun tesekkurler

tugce_ 07 Haziran 2009 19:39

Cevap: [PHP] Guvenlik Kodu Resmi Yapalım
 
dosya silinmiş.


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 15:13.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk