bahattab
05-12-2009, 11:42 PM
Include using a full unix path while still maintaining script portability:
include($_SERVER['DOCUMENT_ROOT'] . '/file.inc');
http://tips-scripts.com/one_liners_php
include($_SERVER['DOCUMENT_ROOT'] . '/file.inc');
http://tips-scripts.com/one_liners_php