include paths...
Date: 11/20/06
(PHP Community) Keywords: php, web
Ok, I'm not understanding how this works.
I have a file called index.php
include "includes/auth.php"; ?>
Fine, that works from the root of the web directory.
As does this images/index.php
include "../includes/auth.php"; ?>
But what happens when this is the case includes/auth.php
include "includes/logger.php"; ?>
How does index.php and images/index.php know how to deal with logger, and auth.php for that matter?
I guess I want to know how to set these without including the full unix path.
Source: http://community.livejournal.com/php/512656.html