How to pass data through an img src call to an image generating php script??
Posted 17 October 2006 - 09:21 PM
The base call is <img src="chart.php> and I would like to send an array if possible.
Posted 17 October 2006 - 09:42 PM
Then have a PHP file parse $_GET['type'], generate image with GD and post headers respectively
Posted 17 October 2006 - 09:43 PM
<img src='/script.php?data=<?=urlencode ( serialize ( $array ) );?>' alt='' />
$data = unserialize ( $_GET['data'] ); // but validate $_GET['data'] first (isset, ...)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users