http://tehwasher.co.uk/text/Hey,%20p...ly%20need%20it
http://tehwasher.co.uk/text/a/Cheers
-Ed
Printable View
lolz my bad
<3
Try Pixel2life
It's GD if i'm not corrected.
lol yer
so i got this yer:
it wont work for me i get a weird error:PHP Code:<?php
header('Content-type: image/png');
$text = $_GET['text'];
$im = imagecreatefrompng ("radio_statsbg.gif");
$color = imagecolorallocate($im, 0, 0, 0);
$font = 'BMRECEIPT.TTF';
$fontsize = 6;
$size = imagettfbbox($fontsize, 0, $font, $text); //calculate the pixel of the string
$dx = (imagesx($im)) - (abs($size[2]-$size[0])) - 20; //calculate the location to start the text
imagettftext($im, $fontsize, 0, $dx, 13, $color, $font, $text);
imagepng($im);
imagedestroy($im);
?>
I ALWAYS Get it for the imagecreate thing and it getting on my nerves coz its correct i beliveQuote:
<br /><b>Fatal error</b>: Call to undefined function: imagecreatefrompng() in <b>/home/anyhabbo/public_html/scripts/text.php</b> on line <b>4</b><br />
$im = imagecreatefrompng("radio_statsbg.gif");
Make sure the extensions are correct.
still wont work
its just the
$im = imagecreatefrompng ("");
on my host but why :S ?
Do you actually have
radio_statsbg.gif
in the same folder as the php file?
yes 8-)