| 
 Posted by tom pester on 09/07/05 13:42 
> Interesting.  What does phpinfo() show?  And did you try 
> $_SERVER["APPL_PHYSICAL_PATH"]?  I'm wondering if this one works. 
 
I can't find the the term DOCUMENT_ROOT in phpInfo() but I do find doc_root : 
 
doc_root no value no vlaue 
 
If I try  
print $_SERVER["APPL_PHYSICAL_PATH"]  
i get 
Notice: Undefined index: APPL_PHYSICAL_PATH in D:\DataBackup\Projects\Websites\PHP\Pages\test.php  
on line 3 
 
What's going on on my 2 machines?? These are basiacly 2 clean installs so  
I doubt its a config issue on my part. 
 
Can somebody else confirm that  
$_SERVER['DOCUMENT_ROOT'] 
$_SERVER["APPL_PHYSICAL_PATH"] 
 
Are empty on some windows machines?
 
  
Navigation:
[Reply to this message] 
 |