NYCPHP Meetup

NYPHP.org

[nycphp-talk] OS X home directory PHP-CLI

Ron Guerin ron at vnetworx.net
Tue Feb 21 20:19:47 EST 2012


I don't have a Mac, and I haven't turned up much useful in Google, so
I'm hoping someone here has written a CLI PHP script for OS X.

I understand that you can't count on HOME to be set.  Is there a
reliable way to find the user's home directory on OS X in PHP?

- Ron



More information about the talk mailing list