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

From: Date: Sat, 14 Jul 2001 00:52:39 +0000
Subject: Re: how to hide dbconnect file if its in published directory?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-57845@lists.php.net to get a copy of this message
there should not be any problem if your web server is configured to parse .inc extentions as PHP, in wich case, even if the file is called separately, the server will strip php tags and send normal html output. regards At 00:11 10/07/01, Noah Spitzer-Williams wrote:
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: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#57845) next »