Re: I don't know what I'm doing wrong

From: Date: Mon, 15 Sep 2008 13:59:12 +0000
Subject: Re: I don't know what I'm doing wrong
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-29033@lists.php.net to get a copy of this message
On 14 Sep 2008 8:07, Daniel Wagner wrote outside the list > the "connection.php" is inside of a subdirectory called "connections" the > "practice.php" is located inside the "images" folder both of those folders > are the only folders (or files) contained under my "test" directory > > --- On Thu, 9/11/08, John Harris <j.harris@ieee.org> wrote: > > I can't see a problem if your connection.php file is located off the > practice.php folder. > > C:\wamp\www\WebRoot\Test\Images\Connections\connection.php > So you have two solutions. Specify the complete path to the connection.php file. require_once("C:/wamp/www/WebRoot/Test/Connections/connection.php"); Or, tell the program to go up a directory level (../) to the Test folder to start looking for the connection.php file. require_once("../Connections/connection.php"); -John

« previous php.windows (#29033) next »