So you basically want to take all of the arguments passed via the query string and [man]extract/man them into variables? (i.e. extract($_GET); ).
(Note I wouldn't recommend doing this, since that's basically duplicating the big security risk of register_globals all over again.)