Thanks Miquel,
I asked it hopeless.


-----Original Message-----
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 3:25 AM
To: Senih Özkiper
Subject: Re: [PHP] document root

On Thu, 18 Apr 2002, [iso-8859-9] Senih Özkiper wrote:
> What is the best way, to find out the directory, where web documents
> on a .nix web server?
> I need that, because I want to install my application files on customers
> server directly and automatically from my web server using ftp.
> Better to explain;
> If for example header("") would be possible, I
> do it with
> getenv("DOCUMENT_ROOT");

Well, the only way you'd be able to do that is by running PHP code local
to the server, and you'd only be able to do that once you're already

Makes more sense to just ask them - since there are all sorts of
possibilities with virtual hosts, etc.


PHP General Mailing List (
To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to