Re: Re: Uploading into website directory for Php files
| From: | Edward Vermillion | Date: | Mon, 26 Feb 2007 19:05:02 +0000 |
| Subject: | Re: Re: Uploading into website directory for Php files | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249471@lists.php.net to get a copy of this message | ||
On Feb 26, 2007, at 12:06 PM, Edward Vermillion wrote:
Or you can set a constant to the includes directory: <?php define('INCLUDE_DIR', '/files/include'); include INCLUDE_DIR.'foo.php';Ooopps... should be define('INCLUDE_DIR', '/files/include/'); forgot the last '/'...