IT.COM

PHP GD Imaging help

Spaceship Spaceship
Watch
Impact
10
Hi All,

i am trying to get PHP GD to input a specific line of code on to an image and i keep running into errors, could anyone assist?

so as an example, on this image i would like PHP to display the logged in users name were it says PHP code name here

is this possible?

thanks for the support.


certtest.jpg
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Yes it is. Just do a IMG SRC to a PHP file with the logged in name parameter.

EX: imagecreator.php?NICK

This can then just take the $_SERVER["QUERY_STRING"];
And build up the image dynamically.

Thanks.
 
1
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back