For Programmers: Free Programming Magazines  


Home > Archive > PHP Programming > June 2004 > Re: database failure so code reverts to flat file?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: database failure so code reverts to flat file?
lawrence

2004-06-27, 8:55 pm

gordonb.mgon3@burditt.org (Gordon Burditt) wrote in message news:<cavr4p$5lf@library2.airnews.net>...
>
> mysql.connect_timeout can be set to make a connection time out if
> it's taking too long. Unfortunately it seems to be settable only
> on a system-wide basis.
>
> PHP does not cache flat files unless you tell it to do so and how
> to do so. However you managed that, you could tell PHP to do it
> if the connection attempt timed out.


I'll give that a try, thanks.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com