On Sep 27, 2006, at 3:43 AM, brian d foy wrote:

In article <[EMAIL PROTECTED]>, Ray
Zimmerman <[EMAIL PROTECTED]> wrote:

On Sep 26, 2006, at 12:45 PM, Joseph Alotta wrote:

     $host = 'localhost';

... to connect to the MySQL database. When run from your wife's
computer, you'll have to change the 'localhost' to the IP address

Just use the zero-conf Bonjour stuff. Find your server's name and
append .local to it.  Look in the Sharing control panel for the right
name.

   $host = 'albook.local';

Ouch.

Okay, looking around the 'net for zero-conf answers the old nagging question of why my machine refers to itself as something.local when I have a valid dns name set for it. It makes me a little queasy, since .local was supposed to be reserved for a slightly different administrative purpose, but, on the other hand, it kind of makes sense.

(Thanks, Wikipedia.)

(And the flame war echoing in my head from a certain final call in 2005 on LLMNR might keep me from getting my sleep tonight, too. Lousy M$lop.)

It's not just Mac, either. You can get stuff for the various other
unices and even Windows to do this.

http://www.apple.com/macosx/features/bonjour/


Reply via email to