Ok, I'm getting something now
It creates the empty blue image, and then loads the png I've made, but then it doesn't write any text.
Here's the code I used:
code:
$white = imagecolorallocate($im, 255, 255, 255);
$red = imagecolorallocate($im, 255, 0, 0);
$green = imagecolorallocate($im, 0, 255, 0);
$black = imagecolorallocate($im, 0, 0, 0);
// Font
$font == "visitor.ttf";
$text == "Hello World";
// Drawing text
imagettftext($im, 12, 0, 10, 20, $white, $font, $text);
Any idea?
(Edit:
Here's the image)
SOLVED: == instead of =, damn mIRC scripting