note 35020 added to function.ini-set
| From: | jonathan at extollit dot com | Date: | Fri, 15 Aug 2003 19:06:54 +0000 |
| Subject: | note 35020 added to function.ini-set | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-54229@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/function.ini-set.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35020
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35020&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35020&report=yes