I've often used variables defined in the end of the url to determine which files to include and what not.
For instance:
?id=3&sub=nerd
$id should be equal to "3", and $sub equal to "nerd", when used in the script.
I've never had a problem until I was setting up a local server on a computer at work. It's a windows 95 machine, I put apache 1.3.x and php 4.2 on it, along with the most recent mysql version. I did the default installation (as I've always done) and didn't edit any configurations besides httpd.conf to enable php in apache.
However, the script is not passing the variables, and I get an "undefined variable" error for $id. It's not reading them in the URL, somehow. Is this something I need to enable in a configuration file?