Re: Include fails when "./" is in front of file name

From: Date: Mon, 07 Apr 2008 15:57:27 +0000
Subject: Re: Include fails when "./" is in front of file name
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-272651@lists.php.net to get a copy of this message
On Mon, Apr 7, 2008 at 11:52 AM, Wolf <lonewolf@nc.rr.com> wrote: > Noah, > > Looks like you need to be deciding on whether or not you are on windoze or > *Nix. > > If on Windoze, your include path is \ > If on *Nix, your include path is / > > Notice the direction of the slashes and code appropriately in all > locations. > > Wolf > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > I'm working with a Windows server and able to use ./ in all my includes. Example - require_once( "./library/urs/URS.Framework.php" ); His should work fine also. -- -Dan Joseph "Build a man a fire, and he will be warm for the rest of the day. Light a man on fire, and will be warm for the rest of his life."

« previous php.general (#272651) next »