What a silly app... the right test is to see if the request came in through
127.0.0.1 (al la localhost loopback) and distrust the rest :)

ipconfig should tell you your IP, maybe your name on win32.  Try ifconfig
on Mac.  Then nslookup {your ip} to see if it is known, otherwise your
server's 'name' is really it's IP.

David Blomstrom wrote:
> This is probably a dumb question, but how do I determine the name of my
> server (local and online)? I have a PHP script that's supposed to modify
> a value depending on whether a file is online or local, and it requires
> the name of my local server. I'm using Apache in both my PC and my Apple
> laptop, but I wasn't aware that my local server had a name.
> 
> Thanks.
> 
> ------------------------------------------------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
> rates starting at 1ยข/min.
> <http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to