Categories

Updated: 04/17/2005

Absolute Include

A small but useful wrapper function for include(). It allows the same include statement to be used in all the files in a website, regardless of which folder they are located in. This is handy for sites that are hosted on servers that have PHP open_basedir protection enabled. This tends to cause calls like include(&"/folder/file.inc&"); to generate error messages.
©2019 A--9.com