Re: Fwd: [PHP-WIN] Includes working in higher directories, not in lower ones

From: Date: Thu, 24 Apr 2003 19:49:04 +0000
Subject: Re: Fwd: [PHP-WIN] Includes working in higher directories, not in lower ones
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-19595@lists.php.net to get a copy of this message
Rod Martin wrote:
Begin forwarded message:
From: Roderick Martin <rmartin@mail.state.il.us> Date: Tue Apr 22, 2003 9:16:23 AM US/Central To: Dash McElroy <php@l1te.net> Subject: Re: [PHP-WIN] Includes working in higher directories, not in lower ones Neither of those possibilities seems likely. The IIS server is running on Windows NT and you saw the whole error message... Warning: Failed opening '../../../includes/leftnavbarag.htm' for inclusion (include_path='.;c:\php4\pear') in D:\Netscape\SuiteSpot\docs\cms\dev\subsections\news\dirwlcme4.htm on line 15 No mention of an open_basedir issue. Still stumped. Rod On Monday, April 21, 2003, at 01:35 PM, Dash McElroy wrote:
Rod Martin wrote:
No one's responded to this on this list yet, but I did discover that I can go at least one level down (ie ../ works), so I am still wondering if it's some kind of "backpath" limitation - intentional or not, and if there is any workaround. Rod
Rod - I have been able to go down several back paths just fine. Sounds like it's either a permissions issue (usually seen more on unix) or a open_basedir issue, although you'll usually know when it's an open_basedir (as it will tell you something about open_basedir). -Dash
Your path is D:\Netscape\SuiteSpot\docs\cms\dev\subsections\news\dirwlcme4.htm
Your include file should be '../../../includes/leftnavbarag.htm' Now if we de'...' it, it would be in D:\Netscape\SuiteSpot\docs\cms\includes/leftnavbarag.htm, right? Now have you double and triple checked permissions on all folders from d:\ to see that the right permissions are in place? One wrong bit and you're borked. -Dash

« previous php.windows (#19595) next »