To create php graphics with arguments, I use things like : <img src="foo.php?height=$height&width=$width&numplots=10&p1=0,0&p2=$x2,$y2&.... "> the foo.php script takes care of reading those variables and using them. Hope I understood your question, Karine