What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » [PHP] Dynamic image help

[PHP] Dynamic image help
Author: Message:
Luigi
Full Member
***

Avatar
It's-a me! Luigi!

Posts: 221
Reputation: 4
– / Male / Flag
Joined: Sep 2005
O.P. RE: RE: [PHP] Dynamic image help
Ok, I'm getting something now :D
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 :D

This post was edited on 01-31-2006 at 08:32 PM by Luigi.
[Image: caffe.gif]
[Image: italia.jpg] StuffPlug-NG & A-Patch Official Italian Translator, Messenger Plus! Live Beta Tester.
www.barbagianni.net - http://www.messengeritalia.it
01-31-2006 08:25 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[PHP] Dynamic image help - by Luigi on 01-31-2006 at 06:48 PM
RE: [PHP] Dynamic image help - by L. Coyote on 01-31-2006 at 07:42 PM
RE: [PHP] Dynamic image help - by Luigi on 01-31-2006 at 07:46 PM
RE: [PHP] Dynamic image help - by hmaster on 01-31-2006 at 08:10 PM
RE: RE: [PHP] Dynamic image help - by Luigi on 01-31-2006 at 08:25 PM
RE: [PHP] Dynamic image help - by -dt- on 02-01-2006 at 02:00 AM
RE: [PHP] Dynamic image help - by Luigi on 02-01-2006 at 07:47 PM
RE: [PHP] Dynamic image help - by hmaster on 02-01-2006 at 08:57 PM
RE: [PHP] Dynamic image help - by Luigi on 02-02-2006 at 07:53 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On