note 35020 rejected from function.ini-set by didou
| From: | didou@php.net | Date: | Fri, 15 Aug 2003 19:29:11 +0000 |
| Subject: | note 35020 rejected from function.ini-set by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54231@lists.php.net to get a copy of this message | ||
Note Submitter: jonathan@extollit.com
----
Sometimes using the following line in an ".htaccess" file WILL NOT WORK, but I use a
rather simple work-around:
php_value include_path ".:..:/usr/lib/php/nf/"
In my PHP scripts I use the following lines of code instead:
@include "inc/myincludefile.php";
@include "../inc/myincludefile.php";
Seems to work fine, but this will NOT work:
@require "inc/myincludefile.php";
@require "../inc/myincludefile.php";
Because that generates a fatal error.