note 15236 added to function.include

From: Date: Sun, 02 Sep 2001 19:24:49 +0000
Subject: note 15236 added to function.include
Groups: php.notes 
Request: Send a blank email to php-notes+get-17544@lists.php.net to get a copy of this message
Some of these comments make includes seem quite messy and difficult. This is not the case... Options do and have existed, at least for php4 users, to make a->b->c includes quite painless. You can absolute path everything with $DOCUMENT_ROOT or Change the include directory in php.ini or For virtual hosted sites with apache, add php_value include_dir ".:/path1:/path/two" inside your <VirtualHost> or <Directory> tags... All these options make includes extremely simple. If you define paths, a simple include("whatever.inc") will search all the paths, in order, for whatever.inc http://www.php.net/manual/en/function.include.php

« previous php.notes (#17544) next »