Re: current location

From: Date: Thu, 05 Apr 2001 13:19:02 +0000
Subject: Re: current location
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-47253@lists.php.net to get a copy of this message
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 www.myserver.com". If the same php page is at > www.yourserver.com, it should be able to display "Welcome to www.yourserver.com". > > __________________________________ > www.edsamail.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net /******************************************************************************\ * Joe Stump - PHP/SQL/HTML Developer * * http://www.care2.com - http://www.miester.org - http://gtk.php-coder.net * * "Better to double your money on mediocrity than lose it all on a dream." * \******************************************************************************/

« previous php.general (#47253) next »