The recommended way is to use $_GET in this case like drawmack wrote. But if you have an existing application with lots of scripts and don't want to change all the code you can set register_globals to on in php.ini. The better way for security reasons would be to modify the scripts.
Thomas