try putting an .htaccess file into that directory. or (as someone else already suggested) tell apache to disallow access to *.inc files (or to the entire directory) > -----Original Message----- > From: Noah Spitzer-Williams [mailto:[EMAIL PROTECTED]] > Subject: [PHP] how to hide dbconnect file if its in published directory? > > Hey guys, > > I come for advice once again. Say i have a file dbconnect.inc which > connects to my database. Now if this file is located in a directory > accessible for to the web is there anyway that if someone types in that file > i can detect it being accessed, instead of included, and redirect them > elsewhere? > > Thanks guys! > > - Noah -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP] how to hide dbconne... John Weaver
- Re: [PHP] how to hide dbc... [EMAIL PROTECTED]
- RE: [PHP] how to hide... Navid A. Yar
- Re: [PHP] how to... [EMAIL PROTECTED]
- Re: [PHP] ho... John Weaver
- Re: [PHP] how to hide... John Weaver
- Re: [PHP] how to hide dbc... Thomas David Kehoe
- Re: [PHP] how to hide... Chris Lambert - WhiteCrown Networks
- Re: [PHP] how to hide... teo
- Re: [PHP] how to hide dbconnect f... Mark Ferraretto
- Re: [PHP] how to hide dbconnect file i... scott [gts]
- Re: [PHP] how to hide dbconnect file i... hassan el forkani
- Re: [PHP] how to hide dbconnect f... Don Read
- Re: [PHP] how to hide dbconne... Chris Anderson
- Re: [PHP] how to hide dbconne... Rasmus Lerdorf
- Re: [PHP] how to hide dbc... Don Read
- Re: [PHP] how to hide... Rasmus Lerdorf
- Re: [PHP] how to hide dbconnect f... Rasmus Lerdorf
- Re: [PHP] how to hide dbconne... hassan el forkani
- Re: [PHP] how to hide dbconnect file i... olsonric
- Re: [PHP] how to hide dbconnect f... David Robley