You are here: Re: How to make the include path universal? « PHP Programming Language « IT news, forums, messages
Re: How to make the include path universal?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация