Reference in 'glob'
View Single Post
10-06-2012, 03:53 AM
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Thanked 2,598 Times in 2,567 Posts
DOCUMENT_ROOT itself isn't the problem, its $_SERVER. PHP cannot guarantee anything under the $_SERVER superglobal as existing, and if you use PHP on the command line or cron jobs, than this superglobal offset isn't available.
Users who have thanked Fou-Lu for this post:
View Public Profile
Find More Posts by Fou-Lu