Re: failed to open stream: No such file or directory in

From: Date: Mon, 15 Mar 2004 18:16:17 +0000
Subject: Re: failed to open stream: No such file or directory in
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-180486@lists.php.net to get a copy of this message
Il lun, 2004-03-15 alle 18:43, Mike Mapsnac ha scritto: > Hello > I know that problem is related how I include library file (lib_main.php). > I just don't understand what I do wrong: > lib_main.php is located at /var/www/html/lib/lib_main.php > > When I include in the index.phplocated at /var/www/html/ I do the > following > include ('lib/lib_main.php'); // this works fine > > But When I try to declare the library in /var/ww/html/account/ Is the index.php file here? > include('lib/account/lib_main.php'); /var/ww/html/account/ + include('lib/account/lib_main.php'); = /var/ww/html/account/lib/account/lib_main.php. Is there the file lib_mail.php in this folder? Use include('../lib/lib_main.php'). > It gives me the error message: > Warning: main(lib/account/lib_main.php): failed to open stream: No such file > or directory in /var/www/html/account/index.php on line 6 > > I have no idea what is wrong here > > _________________________________________________________________ > FREE pop-up blocking with the new MSN Toolbar – get it now! > http://clk.atdmt.com/AVE/go/onm00200415ave/direct/01/ Seba

« previous php.general (#180486) next »