not sure about a work around, but is it not getting the file because you've specified params after the URL... ie: after the .php
I think the code is looking for an exact name of the file, and its trying to find one with all the info after the .php?
and as thats not a file, it wont open it?
Maybe you should include the code thats in the index.php file in the file open part, then get what ever file it is meant to get?