Well yes; it's called a path. What it looks like depends on where you want the directory to be, but something like
include("$DOCUMENT_ROOT/library/needed.php");
isn't beyond the realm of possibility.
See the manual for the definition of $DOCUMENT_ROOT, and similar predefined variables.