Parameters to gd-image

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Parameters to gd-image

Post by Shendemiar »

Is it possible to pass parameters to gd-image and what is the simplest way.

I'm meaning something like:

Code: Select all

<img src="image.php?a=1">
User avatar
markl999
DevNet Resident
Posts: 1972
Joined: Thu Oct 16, 2003 5:49 pm
Location: Manchester (UK)

Post by markl999 »

That's how i'd do it, then in image.php you can use $_GET['a'] to get at the passed value.
Post Reply