Home     PHP / Javascript / Ajax
PHP Absolute Include Script

PHP Script Codes > file-manipulation

Absolute Include Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 1907

PHP Script Codes > 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.