Re: [PHP] current location

2001-04-05 Thread Joe Stump
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

Re: [PHP] current location

2001-04-05 Thread nicuc.ac.jp
$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

Re: [PHP] current location

2001-04-05 Thread Paul Juliano
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.

RE: [PHP] current location

2001-04-05 Thread Dominick Vansevenant
$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