Page 1 of 1

Parameters to gd-image

Posted: Wed Apr 07, 2004 6:17 pm
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">

Posted: Wed Apr 07, 2004 6:19 pm
by markl999
That's how i'd do it, then in image.php you can use $_GET['a'] to get at the passed value.