Posted by Francesco on 10/10/07 11:27
Hy guys,
I'm new to php and I'm wondering why i get the notice
Undefined index: DOCUMENT_ROOT
if I write
define('ROOT_PATH',$_SERVER['DOCUMENT_ROOT'] .'/mypath')
But if I see the phpinfo() output the DOCUMENT_ROOT is properly set.
Thanks for any advice
Francesco
Navigation:
[Reply to this message]
|