generating several images in sequence...

From: Date: Thu, 25 Oct 2001 11:27:21 +0000
Subject: generating several images in sequence...
Groups: php.general 
Request: Send a blank email to php-general+get-72253@lists.php.net to get a copy of this message
I have a page that calls a image creating script lots of times... this script takes two parameters... the type of graph to be created and an array with data to fill the graph to be created... now I'm doing it like this: <img src="<?=WEB_ROOT."/adm/relatorio_graph.php?tipo=catviews&emp_graphArray=".urlencode($categs)?>"> and it generates an output something like this: <img src="/vitrine/adm/relatorio_graph.php?tipo=catviews&emp_graphArray=a%3A3%3A%7Bi%3A2%3Ba%3A2%3A%7Bs%3A4%3A%22view%22%3Bi%3A22%3Bs%3A5%3A%22click%22%3Bi%3A1%3B%7Di%3A3%3Ba%3A1%3A%7Bs%3A4%3A%22view%22%3Bi%3A12%3B%7Di%3A4%3Ba%3A2%3A%7Bs%3A4%3A%22view%22%3Bi%3A10%3Bs%3A5%3A%22click%22%3Bi%3A1%3B%7D%7D"> it works just fine.. all the graphs show up perfectly... but I was wondering if there is a better way of doing this... I tried with sessions, but I couldn't get the varible to be reseted correctly between two graphs of the same type... and they would repeat... any ideas? _____________________________ . Christian Dechery . . Gaita-L Owner / Web Developer . . http://www.webstyle.com.br . . http://www.tanamesa.com.br

« previous php.general (#72253) next »