I think the best way is to first join the whole lot of coordinates into a single string on the client side with JavaScript, and then send it off to the PHP script.
You might want to join the sets of coordinates with a delimiter like ~ (as its highly unlikely to occur in a URL) so you'd have coords like:
mypic.php?Lines=1,1,14,10,10,12~~~2,20,2,12,10,12~~~etc
Then in the PHP just do this to get each set of coordinates:
$coords = explode($_REQUEST['Lines']);
Each element in the $coords array will contain all the coord pairs for a shape on your map, and you can go through them pair by pair with a simple loop, for example, going through the coords for the first shape:
for($i=0; $i<count($coords[0]); $i+=2)
{
// do something with the coords here
}