Re: include, relative path
- From: Michael Fesser <netizen@xxxxxx>
- Date: Fri, 23 May 2008 18:01:49 +0200
..oO(^AndreA^)
Guys, sorry for my lateness... Thank you very much for your answers!
At the end I did simple:
include '../libraries/db_details.php';
It seems so simple and sounds strange to me that I didn't try it... I
really don't know what I was thinking that day... ;-)
An absolute path based on $_SERVER['DOCUMENT_ROOT'] would still be the
better and more reliable choice. You also should keep your library
_outside_ the document root for security reasons.
Micha
.
- Follow-Ups:
- Re: include, relative path
- From: ^AndreA^
- Re: include, relative path
- References:
- Re: include, relative path
- From: ^AndreA^
- Re: include, relative path
- Prev by Date: Re: include, relative path
- Next by Date: Re: Help!
- Previous by thread: Re: include, relative path
- Next by thread: Re: include, relative path
- Index(es):