[PHP-DEV] [PATCH] Sybase error handling

2002-05-22 Thread Dave Brotherstone
Attached is a patch for error handling with Sybase/MSSQL databases. Basically it picks up the message and the error number from the dberrhandler() call. This means that MSSQL/Sybase RAISERROR calls can be caught properly in the PHP script. Any chance of someone committing it in? Dave. Index:

[PHP-DEV] Crasher in 4.2.1 - debugging advice needed

2002-05-21 Thread Dave Brotherstone
Hi, I've got a particular script that seg-faults when certain parts of it run (tested with 4.1.0 and 4.2.1, both CGI and Apache module). I've done a back trace, included below. Linux 2.4.18 (Redhat 7.0). I'm not sure what to do next, as if it is something not free'ing properly, or free'ing tw

[PHP-DEV] Part run script shutdown

2002-03-16 Thread Dave Brotherstone
Hi, I'm trying to find out whether PHP_RSHUTDOWN_FUNCTION is called when a browser session is killed mid-script. If not, is there any way an extension can detect the output socket is closed? I've found a potential gotcha in the Sybase module, to do with locking, and the locks never being rele

RE: [PHP-DEV] need help!

2002-03-10 Thread Dave Brotherstone
You're asking on the wrong list. It's php-general you need to subscribe to. This list is for development *OF* PHP, not IN PHP. > -Original Message- > From: its me [mailto:[EMAIL PROTECTED]] > Sent: 10 March 2002 06:01 > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] need help! > > > i have

RE: [PHP-DEV] Re: Suggestion: Adding fmt like linebreak algorithm

2001-12-27 Thread Dave Brotherstone
Forgive me, but what does BC stand for? I'd be happy to have a go at creating the new function though... Dave > -Original Message- > From: Markus Fischer [mailto:[EMAIL PROTECTED]] > Sent: 27 December 2001 05:15 > To: Sean R. Bright > Cc: 'Dominik Roettsches'; [EMAIL PROTECTED] > Subjec

[PHP-DEV] Sybase / MSsql module additions

2001-12-13 Thread Dave Brotherstone
I've added two functions - sybase_get_last_error and sybase_get_last_error_no (alias functions for mssql_ are included), so that the user can do error handling with the errors raised from sybase or mssql. I've included a unified diff for these changes. Tested on Apache and MS SQL. They are

[PHP-DEV] Submitting changes

2001-12-12 Thread Dave Brotherstone
Where (and who) do I submit a code patch to one of the modules? -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] mssql/sybase error extension

2001-12-11 Thread Dave Brotherstone
Hi, I written a small extension to the sybase (and mssql) modules to handle the errors raised with "raiserror" from the sql server. However, I have never done any PHP source development before, and I would like someone to check that I haven't broken any development rules! - and also, if possibl