Re: [PHP] how to hide dbconnect file if its in publisheddirectory?

2001-07-10 Thread John Weaver
... how do I change this!? Name the file ... functions.inc.php and insure that you have the php start and end tags on it. -- Regards, John Weaver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

Re: [PHP] how to hide dbconnect file if its in published directory?

2001-07-10 Thread John Weaver
On Tuesday 10 July 1979 12:39 am, [EMAIL PROTECTED] wrote: on 7/10/01 12:30 AM, John Weaver at [EMAIL PROTECTED] wrote: Sorry, I should have been more clear. If you write modular code, your included file will be nothing but a group of functions. Call a file with nothing but functions

Re: [PHP] how to hide dbconnect file if its in published directory?

2001-07-09 Thread John Weaver
can detect it being accessed, instead of included, and redirect them elsewhere? Thanks guys! - Noah The best compromise I have seen is to name your file - somefile.inc.php -- Regards, John Weaver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] how to hide dbconnect file if its in published directory?

2001-07-09 Thread John Weaver
with nothing but functions in it and you get; HTMLHEAD/HEAD/HTML. I can't see the security problem you refer to. -- Regards, John Weaver -- 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