SyntaxFix
Write A Post
Hire A Developer
Questions
REQUEST_URI is set by Apache, so you won't get it with IIS. Try doing a var_dump or print_r on $_SERVER and see what values exist there that you can use.