Hi Jon, Once more you come up trumps. On Fri, 16 Aug 2002 12:46:18 +0100, you wrote:
>1. Make sure all your scripts that contain connection settings and >whatnot >end in .php, so they get processed instead of output - this way, >even if >someone calls the script directly, all that happens is they get a >blank >page. > That's one thing I managed to grasp from earlier postings and I think I have that set up OK. >if you move the connections folder outside the public tree, then no- >one can >request your connection stuff via HTTP (but you can still include >it). > >/ >/cgi-bin >/includes >/includes/connections >/includes/any-other-sensitive-stuff >/logs >/public_html >/public_html/books > Now this is where I get confused. If I enter just the site name in my browser I get the index file that sits in /public_html and I therefore assume that the system sees /public_html as my root directory. Now, how do I include a file that sits under the root ? Surely the OS treats the root as the bottom directory ( or does it?) I have a strange feeling that my logic is about to get turned upside down <g> > >That's a good sign. Paranoia should be the *default* frame of mind >for any >halfway-competent sysadmin. > Me? A sysadmin? WOW !! I can see a request for a payrise in the offing. I can't see the actual payrise mind, just the request :-) regards Melanie ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
