Re: Include problems

From: Date: Sat, 03 May 2003 01:06:34 +0000
Subject: Re: Include problems
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-146216@lists.php.net to get a copy of this message
What??? "Dvdmandt" <dvdmandt@telia.com> wrote in message news:20030503000124.31615.qmail@pb1.pair.com... > Include path doesn't even include '.' ? That most likely causes it... > "Shawn McKenzie" <nospam@mckenzies.net> skrev i meddelandet > news:20030502214022.57571.qmail@pb1.pair.com... > > Is there some PHP/Apache configuration setting or oddity with Solaris that > > would cause this??? > > > > I have a script that works great for me and many others that gives the > > following errors for one particular person: > > > > Warning: Failed opening '/apps/myscript/script.cfg' for inclusion > > (include_path='') in /apps/myscript/myscript.php on line 2 > > Warning: Failed opening '/apps/myscript/script.php' for inclusion > > (include_path='') in /apps/myscript/myscript.php on line 3 > > > > /home/me/public_html/apps/myscript/myscript.php > > <?php > > include(dirname(__FILE__)."/script.cfg"); > > include(dirname(__FILE__)."/script.php"); > > > > some other working script... > > ?> > > > > The script.cfg and script.php reside in the same dir as myscript.php. The > > person has the following server stuff: > > - SunOS backup 5.7 Generic_106541-11 sun4u sparc SUNW,Ultra-250 > > - Apache/1.3.26 > > - PHP 4.2.3 > > > > TIA > > -Sawn > > > > > >

« previous php.general (#146216) next »