Re: php die function for MySQL connection errors
| From: | raditha dissanayake | Date: | Tue, 17 Aug 2004 00:50:03 +0000 |
| Subject: | Re: php die function for MySQL connection errors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194019@lists.php.net to get a copy of this message | ||
Ford, Mike [LSS] wrote:
On 14 August 2004 15:50, raditha dissanayake wrote:-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 128 KB | with progress bar.Ford, Mike [LSS] wrote:Yes. In fact, I was too conservative -- the HTTP RFC says it *must*. See: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30 and http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.2 Just because many browsers accept and process a non-standard header is no reason to write non-standard headers... ;) Thanks mike, just when i started to think i was an expert in this field you burst my ego :-)(And, BTW, the HTTP definition says that the Location:header should specify a full absolute URL, so that should be:header("Location:http://your.server.name/path/to/errors/servererror.php");are you sure?