That's the strategy I use ... I sure hope that's not unsafe On Tue, Jul 28, 2009 at 11:58 AM, PHP Tutor <php.tu...@yahoo.com> wrote:
> Hello everyone. > First of I wanna say hi, since it's my first contribution here. > Also I'm not from NY, but Norway. Found your site trough google > > Now, back on topic: > It's a very nice, short and direct article. Easy to understand. > What I was thinking tho was about using .php. Wouldn't it add a bit more > security if you do something like this? > <?php if (!defined('doInclude')) { die("Access denied sucker!"); } > > .... Code here .... > > ?> > > Just asking, cause I'm fairly new to all this so :) > > Article: http://www.nyphp.org/phundamentals/sitestructure.php > > - Ole > > > _______________________________________________ > New York PHP User Group Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > http://www.nyphp.org/show_participation.php > -- Brian O'Connor
_______________________________________________ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.nyphp.org/show_participation.php