[UPHPU] hostname missing in CLI script

Wade Preston Shearer lists at wadeshearer.com
Fri Aug 22 09:11:58 MDT 2008


On 22 Aug 2008, at 1:01, Richard K Miller wrote:

> $hostname = exec('hostname');   // this runs /bin/hostname on my  
> machine

> php_uname('n')

Both of these worked. Thank you, thank you, thank you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
Url : http://uphpu.org/pipermail/uphpu/attachments/20080822/542e248f/smime.bin


More information about the UPHPU mailing list