Well, I'm fairly new to PHP and trying to build a little personal Image that would display my latest twitter, so that I can put it in my forum signatures and such, and maybe when I'm done with it, I can make it into a generator ( It would be simple )
I have just about everything done, but the actual image. I get a whole bunch of symbols, and It's only when I include my page that pulls the information for the 1 status message.
Here's the source to one of many ways I tried this,
That's only one of the ways I've tried to organize it. (Don't worry about the picture, it was a random box I found)
$im = imagecreatefrompng("http://i13.photobucket.com/albums/a287/Rickmasta185/149d6e5d2da9f136898079693.png");
ImageString($im, 1, 17, 4, $final, 2);
And here's the code to the includes.php
I know that the TwitterUser and Pass has to be changed, I just changed it here, but can anyone else me?
require_once( './my_twitter.php' );
$twitter = new MyTwitter('TwitterUser', 'TwitterPass');
$status = $twitter->userTimeLine();
$total = count(1);
for ( $i=0; $i < $total ; $i++ )
$final = $status[$i]['text'];
I've been trying to figure this thing out for hours, and nothing.
It'll be greatly appreciated.
Thanks in Advance