on a unix system type:
$path = `pwd`;
--Joe
On Thu, Apr 05, 2001 at 04:28:50PM +0800, Paul Juliano wrote:
> Hi,
>
> What's the php function to find out what server a php page is located?
> For example, the php page is at www.myserver.com. The php page should be able
> to display "Welcome to
$SERVER_NAME function that you looking for.
--
-Tuna-
""Paul Juliano"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> What's the php function to find out what server a php page is located?
> For example, the php page is at www.myserver.com. The php page should be
abl
Silly me, it's $HTTP_HOST. :)
Paul Juliano wrote:
>Hi,
>
>What's the php function to find out what server a php page is located?
>For example, the php page is at www.myserver.com. The php page should be able
>to display "Welcome to www.myserver.com". If the same php page is at
>www.yourserver.
$SERVER_NAME gives you the location
D.
-Original Message-
From: Paul Juliano [mailto:[EMAIL PROTECTED]]
Sent: donderdag 5 april 2001 10:29
To: [EMAIL PROTECTED]
Subject: [PHP] current location
Hi,
What's the php function to find out what server a php page is located?
For example, the
4 matches
Mail list logo