[nycphp-talk] About the site structure article
Brian O'Connor
gatzby3jr at gmail.com
Thu Jul 30 12:25:10 EDT 2009
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.tutor at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20090730/f6b6fbbd/attachment-0001.html>
More information about the talk
mailing list