Re: Displaying links only when page is loaded on local site?

From: Date: Thu, 05 Jun 2003 12:40:23 +0000
Subject: Re: Displaying links only when page is loaded on local site?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-150341@lists.php.net to get a copy of this message
> Just curious to know if anyone knows of a way of displaying a set of > links on a page only when that page is loaded on my local development > machine and not when it's loaded by the general internet public on my > remote host's machine? > > I have several background content editing pages which would be handy to > be able to access when previewing pages locally, but which wouldn't be > applicable to the 'live' site, since the content editing pages > themselves are only available locally... I'm sure there's something in the $_SERVER array that you could check... ---John Holmes...

« previous php.general (#150341) next »