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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php