cyfer65 Posted September 3, 2009 Share Posted September 3, 2009 You know those avatars you see that have some kinda updated stats in them with text..aren't those done by using php or something..??Anyway, what I'd like to do is output the php code below onto a .PNG file if its possible ..??is there anyway to do something like this at all..?? <?phpdate_default_timezone_set('UTC');$Date = date('F-j-Y');echo "<h1 style='font-size:25px'><font color='red'>UPDATED - $Date</font></h1>";?> Link to comment Share on other sites More sharing options...
Ingolme Posted September 3, 2009 Share Posted September 3, 2009 It's not simple at all, but there's the imagettftext() function. Link to comment Share on other sites More sharing options...
Synook Posted September 4, 2009 Share Posted September 4, 2009 To get the extension as .png, you can (a) set up .png files to be parsed by PHP (bad idea), or ( use mod_rewrite to rewrite the avatar.png file to a .php file. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.