NYCPHP Meetup

NYPHP.org

[nycphp-talk] Include file questions

Mark Armendariz nyphp at enobrev.com
Sat Feb 14 15:17:09 EST 2004


I tend to put my include info in a php.ini or .htaccess  and then when I
upload move everything but those files.  It's easier with the .htaccess as
you usually only need one.  If you're working with a local php.ini (cgi
installation of php), you need one for every directory.

But with this set, I can just 

include('config.files.php');

on every page without worrying about where things are so much.

Mark




More information about the talk mailing list