NYCPHP Meetup

NYPHP.org

[nycphp-talk] Storing Files Outside of HTTP Root

Hans Zaunere hans at nyphp.com
Tue Nov 23 14:45:22 EST 2004


> I always read that I should store includes and any other files that
may
> contain information like the database connection outside of the root
> directory of the web site, which makes perfect sense.
> 
> But what should I do if I don't have access outside of httpdocs, or
> can't include a file from another directory such as, say, cgi-bin?

New York PHP recommends these best practices for handling site structure
and includes:

http://education.nyphp.org/phundamentals/PH_sitestructure.php


---
Hans Zaunere
President, Founder
New York PHP
http://www.nyphp.org





More information about the talk mailing list