whois script

0
Onaylı Üye
Üye
Katılım
14 Aralık 2004
Mesajlar
194
Tepki puanı
0
Merhaba,
birkac whois scripti buldum fakat .tr uzantılı domainleri sorgulayamıyorum.
Bu ve ve birkaç sitede gördüğüm bir script var. site
Bu script olan arkadaşlar, bizimle paylaşırlarsa memnun olurum.
 
0
Onaylı Üye
Üye
Katılım
14 Aralık 2004
Mesajlar
194
Tepki puanı
0
tiva kardeş, öncelikle paylaşım için teşekkürler..
çektim, ftp ile attım..fakat font tanımlama da hata verdi..
Fatal error: Call to undefined function: imagettfbbox() in /home/reklamve/public_html/Whois/sec_image.php on line 26

yardımcı olursanız memnun olurum..

PHP:
<?php
/*********************************************************
		This Free Script was downloaded at			
		Free-php-Scripts.net (HelpPHP.net)			
	This script is produced under the LGPL license		
		Which is included with your download.			
	Not like you are going to read it, but it mostly	
	States that you are free to do whatever you want	
			With this script!						
		NOTE: Linkback is not required, 
	but its more of a show of appreciation to us.					
*********************************************************/

$textstr = strip_tags(trim($_GET['tg']));

//Font info
$FONT_LINK = 'Whois/extras/ARIALN.TTF';
$FONT_SIZE = 11;

$im = imagecreatefrompng('extras/background_1.png');
//Create random size, angle, and dark color
$angle = rand(-1, 1);
$color = imagecolorallocate($im, rand(0, 100), rand(0, 100), rand(0, 100));

//Determine text size, and use dimensions to generate x & y coordinates
$textsize = imagettfbbox($FONT_SIZE, $angle, $FONT_LINK, $textstr);
$twidth = abs($textsize[2]-$textsize[0]);
$theight = abs($textsize[5]-$textsize[3]);
$x = (imagesx($im)/2)-($twidth/2)+(rand(-20, 20));
$y = (imagesy($im))-($theight/2);

//Add text to image
imagettftext($im, $FONT_SIZE, $angle, $x, $y, $color, $FONT_LINK, $textstr);

//Output PNG Image
header("Content-Type: image/png");
imagepng($im);

//Destroy the image to free memory
imagedestroy($im);

//End Output
exit;

/* +++++++++++++++++++++++++++++++++++++
		END FILE
---------------------------------------*/

/*
Partner Sites:
====================

Free File Upload: 
			http://www.HotFile.us
			
Free Image Hosting: 
			http://www.MyImage.us
			
Free Games (all type of games): 
			http://www.FunTimes.us
			
Free Templates: 
			http://www.freephptemplate.com
			
PHP Skills and Tricks: 
			http://www.phptricks.com
*/
?>
 
0
Onaylı Üye
Üye
Katılım
22 Mart 2006
Mesajlar
1,143
Tepki puanı
1
Konum
dev
$FONT_LINK = 'Whois/extras/ARIALN.TTF';

arial.ttf yi o klasore at. yada ana dizine at

$FONT_LINK = 'Whois/extras/ARIAL.TTF';
yada
$FONT_LINK = 'ARIAL.TTF';

yap
 
Geri
Üst