Bug #14596 Updated: error occur when using include_path

From: Date: Wed, 19 Dec 2001 15:00:23 +0000
Subject: Bug #14596 Updated: error occur when using include_path
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74409@lists.php.net to get a copy of this message
ID: 14596 Updated by: daniel Reported By: haplo232@yahoo.com Old Status: Feedback Status: Closed Bug Type: *Configuration Issues Operating System: winNT PHP Version: 4.0.6 New Comment: uuhmm .. include_PATH not include_FILE. it should read like this: include_path=".;f:\apacheweb\www_bl\arch\" (and then include "head2.inc"; in your script) OR auto_prepend_file = "f:\apacheweb\www_bl\arch\head2.inc"; NON-bug. bogus. closed. Previous Comments: ------------------------------------------------------------------------ [2001-12-19 02:56:28] derick@php.net POssible solutions: use the / instead of the \ use two \\ instead of one \ add a slash (\\ or /) after .inc Derick ------------------------------------------------------------------------ [2001-12-19 02:50:49] haplo232@yahoo.com i have a problem on using include_path for different directory, i have try the code like : include_path=".;f:\apacheweb\www_bl\arch\head2.inc" but the error have occur like the following : Parse error: parse error in f:\apacheweb\www_bl\eng\stat\head1.php on line 1 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14596&edit=1

« previous php.dev (#74409) next »