EX1:
/url.php?var=val
produces:
$_GET['var'] = 'val';
EX2:
url.php?var[]=val
produces
$GET['var'] = array();
$GET['var'][] = 'val';
EX3:
url.php?var[key]=val&var[key2]=val2
produces:
$GET['var'] = array();
$GET['var']['key'] = 'val';
$_GET['var']['key2'] = 'val2';
notice in the example above the url query does not wrap quotes around the key, this is a kind of non-intuative thing you need to watch out for.
to create this query string you will need a loop which writes each variable name and its value. If the thing you are passing is complex at all you might want to consider using wizkids idea of serializing.