What is the best way, to find out the directory, where web documents stored, on a .nix web server? I need that, because I want to install my application files on customers web server directly and automatically from my web server using ftp.
Better to explain;
If for example header("Location:www.someweb.com") would be possible, I could
do it with
getenv("DOCUMENT_ROOT");
Thanks in advance,
Senih

