![]() |
Reference in 'glob'
How would
PHP Code:
I can't figure out those nested quote marks. Thank you. |
Not sure what you mean about the nested quote marks.
Try this: PHP Code:
|
Thank you
Thank you.
I see I also had the open-brace in the wrong place. I will use the relative reference. For general knowledge: what's the drawback of using DOCUMENT_ROOT? I thought it had the advantage of letting files be moved without changing the references. |
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.
|
Thank you. Very helpful.
|
| All times are GMT +1. The time now is 12:39 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.