Thanks Miquel,
I asked it hopeless.

Senih

-----Original Message-----
From: Miguel Cruz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 3:25 AM
To: Senih Özkiper
Cc: [EMAIL PROTECTED]
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
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");

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
installed.

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

miguel


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to