In article <[EMAIL PROTECTED]>,
Philip Hallstrom <[EMAIL PROTECTED]> wrote:

> What about...
> 
> $hostname = `/bin/hostname`;
> 
> or something along those lines...

Well that's rather the kind of thing I was wanting to avoid - it's much
akin to rummaging in /etc.

the hostname command gives me my hostname ONLY (like "www"), much as
the posix_uname function does, but on my system (OpenBSD 3.1) the
corresponding domainname utility returns nothing (as I'm not using YP),
so I still can't seem to find this out from PHP. This seems very silly!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to