NYCPHP Meetup

NYPHP.org

[nycphp-talk] Seeking recommendations for resources on LAMP best practices

Tim Sailer sailer at bnl.gov
Tue Oct 15 12:36:18 EDT 2002


On Tue, Oct 15, 2002 at 11:44:35AM -0400, The RainMaker wrote:
> 
> >
> >$ldap=Net::LDAP->new('ldapA.bnl.gov') or 
> >$ldap=Net::LDAP->new('ldapB.bnl.gov') or 
> >$ldap=Net::LDAP->new('ldapC.bnl.gov') or die "$@";
> >
> >This way, one call should almost always yield a database connection.
> 
> If not... ya have a new definition for the term "Having a bad day."

Yeah, well welcome to my world. :) Take a machine down for upgrades,
have another fail, and the third be unavailable due to a network
outage. :(

Tim

-- 
Tim Sailer <sailer at bnl.gov> 
Application Services
Information Technology Division
Brookhaven National Laboratory  (631) 344-3001



More information about the talk mailing list