Jump to content

conf file question


sdaniels

Recommended Posts

if i have a website http://www.whatever.com
and i have several pages in my htdocs folder

example:  index.php, hello.php, test,php

how can i stop someone from directly accessing http://www.whatever.com/hello.php through the conf file?

i have set it up to disallow going to a folder in the htdocs, but how can i stop from all pages execpt index.php?

or can this be done?  (im trying to get around having to validate session variables on every page)
Link to comment
https://forums.phpfreaks.com/topic/15045-conf-file-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.