Umm.. well, you can get a listing of all the variables that are being used through the $_GLOBALS array but warning: it's a recursive array (includes itself) and also includes all the others like $_SERVER and $_GET and $_POST and such.