Forum Moderators: phranque
One example that I've seen before is those with the "Currently listening to..." and liked the concept of it.
What are they called so I could look up info on them online or how would I go about creating something to that effect? Thanks!
[php.net...]
Using PHP to do this, you then have access to everything a PHP script can do - for example making a query your database to get an account status - before generating the image.
With PHP+GD you can also load in a background image as a starting point, and then add your own text etc. over the top, which is probably the way to go.
To ensure maximum compatability with older browsers; if I were doing this I would set-up a rewrite using .htaccess so that dynamic images are served through a filename that looks like an image and not a script; for example you could map:
/account/1234/status.png > /imagescript.php?account=1234
Hope this helps!
[blah.com...]
while the file starts like
mysql_query("select * from blah WHERE account=1234")
?
That's the part the confuses me as I'm sure some would have issues handling the php file as an image.