I honestly would have searched but I don't even know what I'm looking for. It's simple, but explaining it (for me) is complicated so I'll try to just explain it visually. I have an index page with this. ---img text, etc html-- <?php if(!$ad || $ad == ""){$ad = "visitors";} ?> <?php include("$ad.htm"); ?> --img text, etc html-- So my links look like: http://www.mysite.com/?ad=visitors But I want to put some files in a protected folder like: http://www.mysite.com/protected/secret.htm What url would I use to load that up properly so the page comes between my img text, etc html? Or should I just copy and paste my index.php into the protected zone and use the same php code but this way I can just do a http://www.mysite.com/protected/?ad=secret Very sorry if that doesn't make any sense, tried to explain it the best way I could. If I posted this incorrectly I'll gladly rewrite it according to any rules I missed (and I did read the rules). Thank you to anyone who can answer whenever you get around to it.