Ryze - Business Networking Buy Ethereum and Bitcoin
Get started with Cryptocurrency investing
Home Invite Friends Networks Friends classifieds
Home

Apply for Membership

About Ryze


The PHP developers network

Top [This Network is not currently active and cannot accept new posts]
<- Previous Next ->

563 hits
Nov 17, 2003 8:28 pm re: Grabbing the domain name
Jonathan Defries
> Will Hanke wrote: > Hi all, >

Is there a simple command to grab the domain name and display it on the page? >

>e.g. "Welcome to xyz.com (PHP generated), site will be available soon"

Just:
print "Welcome to ".$_SERVER['HTTP_HOST'].", site will be available soon";

Regards,
Jonathan

Private Reply to Jonathan Defries (new win)





Ryze Admin - Support   |   About Ryze



© Ryze Limited. Ryze is a trademark of Ryze Limited.  Terms of Service, including the Privacy Policy