[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/db db.c

2002-08-12 Thread Dan Kalowsky
We did a google search and found absolutely nothing with it mentioned. Oddly enough, taking out the #if GDBM_FIX breaks the db functions on FreeBSD On Mon, 12 Aug 2002, Rasmus Lerdorf wrote: > Hrm.. I vaguely remember writing this code and dealing with this GDBM_FIX > thing 5-6 years ago. If y

[PHP-DEV] CVS Account Request: svenasse

2002-08-12 Thread Seamus Venasse
I would like access to the "pear" tree. I have written a very extensive Net_Whois module and am in the process of writing other modules. I would like to be able to patch existing code in the pear tree as well. -- PHP Development Mailing List To unsubscribe, visit: http:

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/db db.c

2002-08-12 Thread Rasmus Lerdorf
As the comment implies, I made it up. Obviously at some point a version of gdbm existed that needed the datum to be one bigger to hold the \0, I guess. On Tue, 13 Aug 2002, Dan Kalowsky wrote: > We did a google search and found absolutely nothing with it mentioned. > Oddly enough, taking out th

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/db db.c

2002-08-12 Thread Rasmus Lerdorf
Hrm.. I vaguely remember writing this code and dealing with this GDBM_FIX thing 5-6 years ago. If you look in php.h from PHP version 2 you will see this: /* * GDBM_FIX * * Some people have reported problems getting gdbm to work correctly. If * you are seeing a gdbm compatibility problem, t

[PHP-DEV] Win32 and ftruncate

2002-08-12 Thread Dan Kalowsky
Hey list, Any reason that ftruncate has two different implementations on Win32? Please see: ext/standard/flock_compat.h win32/flock.h For more information. >---< Dan Kalowsky"A little less conversation, http://www

Re: [PHP-DEV] odbc setting boneheadedness? (odbc.defaultlrl)

2002-08-12 Thread Dan Kalowsky
Setting it to 0 should work. Or at least it has in the past. Calling odbc_longreadlen($res_id, ); should also allow you to override this while running in PHP. A value of zero again is passthrou. Any chance you can share a bit more information about this possible bug? On Mon, 12 Aug 2002, Chu

[PHP-DEV] odbc setting boneheadedness? (odbc.defaultlrl)

2002-08-12 Thread Chuck Hagenbuch
Playing with db-based session handlers today against an ODBC database. Don't worry, it's not production, but it should work, and now it does... except that I had a hell of a time figuring out how to get all of the session data, when sessions get large, back from the db server. I found the odbc

[PHP-DEV] Re: php_error_docref() (Was: gd on OSX)

2002-08-12 Thread Marcus Börger
At 22:43 12.08.2002, you wrote: >Marcus, > >I've already run through the ODBC code and put in php_error_docref's to >error messages that can be referenced back to documentation. But the >question is, instead of passing in a NULL what is the proper format? i.e. >"odbc-tables.xml" or "odbc_tables.

Re: [PHP-DEV] ngettext on win32

2002-08-12 Thread Marcus Börger
At 00:35 13.08.2002, Nathan Fredrickson wrote: >I've been using the gettext extension with php 4.2.1 on win32. I have found >that the plural gettext functions are not available (ngettext(), >dngettext(), dcngettext()). The manual says these functions should be >available above 4.2.0, and these f

Re: [PHP-DEV] ngettext on win32

2002-08-12 Thread Rasmus Lerdorf
My guess is that it is an oversight. On Mon, 12 Aug 2002, Nathan Fredrickson wrote: > I've been using the gettext extension with php 4.2.1 on win32. I have found > that the plural gettext functions are not available (ngettext(), > dngettext(), dcngettext()). The manual says these functions sho

[PHP-DEV] ngettext on win32

2002-08-12 Thread Nathan Fredrickson
I've been using the gettext extension with php 4.2.1 on win32. I have found that the plural gettext functions are not available (ngettext(), dngettext(), dcngettext()). The manual says these functions should be available above 4.2.0, and these functions do work in 4.2.1 on linux. Looking at the

[PHP-DEV] Re: #15630 [Fbk->Opn]: imap_utf7_decode appears to be broken

2002-08-12 Thread Gamid Isayev
Robert Marchand wrote: > this will not work without changing current applications. Now it is not working at all for non-ASCII characters. Example: For IMAP folder name "test&WSc-" ("test" + chinese character) current imap_utf7_decode() returns "testY'" For IMAP folder name "testY'", current imap

[PHP-DEV] php_error_docref() (Was: gd on OSX)

2002-08-12 Thread Marcus Börger
At 18:44 12.08.2002, you wrote: >[snip] > >I guess I should start updating ODBC to be using the php_error_docref() as >well... I'll wait for your commit for samples ;) > >Dan Here is a script that converts unified php_error() calls to php_error_docref() calls with docref parameter set NULL autom

[PHP-DEV] Re: #15630: patch for imap_utf7_encode() and imap_utf7_decode()

2002-08-12 Thread Gamid Isayev
Updated patch for 'ext/imap/php_imap.c'. Gamid Isayev --- php_imap.c 5 Aug 2002 21:53:09 - 1.134 +++ php_imap.c 8 Aug 2002 18:52:47 - @@ -2077,14 +2077,14 @@ php_error(E_WARNING, "%s(): Invalid modified UTF-7 character: `%c'", get_active_function

[PHP-DEV] imap_utf7_decode() patch

2002-08-12 Thread Gamid Isayev
According PHP documentation imap_utf7_decode() returns "the decoded 8bit data", but documentation says nothing about encoding of returned "8bit data". When I try decode folder with name 'test&AN9ZJw-', imap_utf7_decode() returns following string: 0x74, 0x65, 0x73, 0x74, 0x00, 0xDF, 0x59, 0x27 It

[PHP-DEV] CVS Account Request: sachat

2002-08-12 Thread Sacha Telgenhof Oude Koehorst
I'd like to help on the Dutch translation of the PHP documentation. Also I'd like to give my input to the PEAR framework (Fields of interest are: DB, XML, Payment and HTML) -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Curl Wrapper now in HEAD

2002-08-12 Thread Wez Furlong
Hi Sterling, I've just commited my curl based wrapper. It's currently read-only (due to a temporary limitation in curl), and might not work properly for include/require statements (or passing streams to third-party libraries) on systems without fopencookie. Also, due to another bug in curl, redir

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / php.ini-dist php.ini-recommended /ext/zlib zlib.c

2002-08-12 Thread Stefan Roehrich
On 2002-08-12 11:34:40, Marcus Börger wrote: > We will drop the double buffer again and my favorite would be changing > zlibs default > to 16K (resulting in 4K output chunks). > > But we must document this stuff Yes, and provide useful defaults, I think there are some sites which have switc

Re: [PHP-DEV] pcntl - class callbacks // dio ASYNC

2002-08-12 Thread Jason T. Greene
Ok, I will take a look at that. Thanks for the patch, class callbacks were actually on my todo list. I just haven't had much time to work on php lately, but I will work on merging it with the following features: ticks back-end replacement system call interruption ability -Jason On Mon, 2002-0

Re: [PHP-DEV] pcntl - class callbacks // dio ASYNC

2002-08-12 Thread Alan Knowles
Jason T. Greene wrote: >Doesn't this currently work without your patch? > it does if we add O_ASYNC to the defines in dio the pcntl patch just fixes class based callbacks.. *the memory leaks I mentioned earlier where due to creating the signal connections before forking. - works OK if you conn

Re: [PHP-DEV] pcntl - class callbacks // dio ASYNC

2002-08-12 Thread Jason T. Greene
Doesn't this currently work without your patch? -Jason On Thu, 2002-08-08 at 02:49, Alan Knowles wrote: > > this efree needs removing.. > > > > >+ > >+efree(*call_name); > >+DEBUG_OUT("done call_user function\n"); > >+

[PHP-DEV] progress bar

2002-08-12 Thread Serdar Sokmen
Hi, I would like to add a progress bar to an installtion program I'm writing in PHP. I basically have one function that I call, it takes about 30 seconds or so to finish executing... I haven't done such a thing before. Can anyone plese suggest me some ideas... Many Thanks Serdar -- PHP Deve

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /main php_ini.c

2002-08-12 Thread Sebastian Bergmann
Wez Furlong wrote: > Sorry if I'm sounding a bit dim, but how does that make a difference? It works fine here. The previous php_ini.c didn't. -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.s

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 / php.ini-dist php.ini-recommended /ext/zlib zlib.c

2002-08-12 Thread Marcus Börger
At 11:06 12.08.2002, Stefan Roehrich wrote: >On 2002-08-11 02:32:50, Yasuo Ohgaki wrote: > > Log: > > Changed my mind. > > Let users decided whether users want larger chunk size or not. > > @ Changed zlib.output_compression behavior. If larger chunk is preferred, > > enable output_buff

[PHP-DEV] Re: [PHP-CVS] cvs: php4 / php.ini-dist php.ini-recommended /ext/zlib zlib.c

2002-08-12 Thread Stefan Roehrich
On 2002-08-11 02:32:50, Yasuo Ohgaki wrote: > Log: > Changed my mind. > Let users decided whether users want larger chunk size or not. > @ Changed zlib.output_compression behavior. If larger chunk is preferred, > enable output_buffering also. (Marcus, Yasuo) The NEWS entry got truncat