Re: Re[2]: [PHP-DEV] PHP 4.3 charter and release plan

2002-05-06 Thread Jan Schneider
Zitat von Andrew Sitnikov <[EMAIL PROTECTED]>: > Hello Stig, > > SSB> Huh, are you saying PHP _is_ locale-dependant? > Yes. > > Example: > 1.php >setlocale(LC_ALL,'ru_RU.CP1251'); > include('2.php'); > ?> > > 2.php >$var = 1.3; > var_dump($var); > ?> > > gap /home/local/sitnikov>

RE: [PHP-DEV] Re: PHP 4.3 charter and release plan

2002-05-06 Thread Joseph Tate
Uwe and Christian have together just about doubled the number of available functions. I'd call that pretty major. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Sunday, May 05, 2002 3:07 AM > To: Stig S. Bakken > Cc: Christian Stocker; [EMAIL PROTECTED]

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread brad lafountain
Hello, I have a patch for DomXML that does 2 things. It allows you to use new and constructors to create dom elements. Ex. $doc = new DomDocument("some.file", true); $ele = new DocElement("name"); $doc->append_child($ele); insetead of $doc = xmldoc("some.file", true); $ele = $doc->create_

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread derick
On Mon, 6 May 2002, brad lafountain wrote: > Hello, > > I have a patch for DomXML that does 2 things. It allows you to use new and > constructors to create dom elements. > > Ex. > > $doc = new DomDocument("some.file", true); > $ele = new DocElement("name"); > $doc->append_child($ele); > >

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread Christian Stocker
On Mon, 6 May 2002, brad lafountain wrote: > Hello, > > I have a patch for DomXML that does 2 things. It allows you to use new and > constructors to create dom elements. > > Ex. > > $doc = new DomDocument("some.file", true); > $ele = new DocElement("name"); > $doc->append_child($ele); as i sai

[PHP-DEV] RE: [Gallery-users] can't create albums (fwd)

2002-05-06 Thread Rasmus Lerdorf
Bug 16905 seems to be real and is biting a few people on *BSD. It looks non-sensical to me and I don't really have decent access to a FreeBSD box anymore. Could someone on FreeBSD take a close look at this one? -Rasmus -- Forwarded message -- Date: Mon, 6 May 2002 10:28:10 -040

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread Lukas Schroeder
On Mon, May 06, 2002 at 03:54:34PM +0200, Christian Stocker wrote: > > $doc = new DomDocument("some.file", true); > > $ele = new DocElement("name"); > > $doc->append_child($ele); > > as i said before, this is not according to the DOM-Standard, so i would > rather prefer not to include this kind o

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) tomake errno optional

2002-05-06 Thread Jason Greene
Agreed, This really is something that better belongs in user-space. -Jason On Mon, 2002-05-06 at 00:56, Markus Fischer wrote: > Hi, > > after thinking again I think it's best just not to touch this > anyway. Let it be that one hast to call > socket_strerror(socket_last_error()

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) tomakeerrno optional

2002-05-06 Thread Jason Greene
On Mon, 2002-05-06 at 00:31, Tom Robinson wrote: > As a programmer fairly new to the PHP socket functions, there is a long enough list >of them already. > For the most part, they match the C functions. > socket_last_error() doesn't have a C equivalent, because of the difference in >environment.

RE: [PHP-DEV] RE: [Gallery-users] can't create albums (fwd)

2002-05-06 Thread Insomniac Admin
I have several FreeBSD boxes I could test on, if you can give me version numbers for the distributions of PHP and Apache you want me to test (and any specific configure arguments) I can. Might be worth giving me a list of what your looking for incase Im missing the point heh (I know that last re

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread brad lafountain
--- Christian Stocker <[EMAIL PROTECTED]> wrote: > On Mon, 6 May 2002, brad lafountain wrote: > > > Hello, > > > > I have a patch for DomXML that does 2 things. It allows you to use new and > > constructors to create dom elements. > > > > Ex. > > > > $doc = new DomDocument("some.file", true);

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread brad lafountain
--- Lukas Schroeder <[EMAIL PROTECTED]> wrote: > On Mon, May 06, 2002 at 03:54:34PM +0200, Christian Stocker wrote: > > > $doc = new DomDocument("some.file", true); > > > $ele = new DocElement("name"); > > > $doc->append_child($ele); > > > > as i said before, this is not according to the DOM-Sta

Re: [PHP-DEV] RE: [Gallery-users] can't create albums (fwd)

2002-05-06 Thread Dan Kalowsky
Initial tests with FreeBSD 4.5 and PHP 4.2.0 seem to be working in CGI mode. Building DSO now to test further. On Mon, 6 May 2002, Rasmus Lerdorf wrote: > Bug 16905 seems to be real and is biting a few people on *BSD. It looks > non-sensical to me and I don't really have decent access to a Fre

Re: [PHP-DEV] PHP 4.3 charter and release plan

2002-05-06 Thread Jason Greene
I would like to have the sockets extension polished and marked as stable by 4.3, if you would like to add that to the list of changes. -Jason On Fri, 2002-05-03 at 00:17, Stig S. Bakken wrote: > Hi, > > I've volunteered to RM (release master, not /bin/rm) PHP 4.3. This > release will be synchro

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) tomake errno optional

2002-05-06 Thread Markus Fischer
Hi, What do you mean with psocket() ? - Markus On Mon, May 06, 2002 at 09:39:23AM -0700, Tom Robinson wrote : > I see you are right. Whereas although socket_last_error() (no argument) can be >viewed as a shortcut, it is actually a feature that cannot be duplicated in user >space

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread Christian Stocker
On Mon, 6 May 2002, brad lafountain wrote: > > --- Christian Stocker <[EMAIL PROTECTED]> wrote: > > On Mon, 6 May 2002, brad lafountain wrote: > > > > > Hello, > > > > > > I have a patch for DomXML that does 2 things. It allows you to use new and > > > constructors to create dom elements. > > >

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno) tomakeerrno optional

2002-05-06 Thread Jason Greene
I think he is referring to persistent sockets. Tom, Could you outline how you would use a persistent sockets, and why it would benefit you? -Jason On Mon, 2002-05-06 at 10:54, Markus Fischer wrote: > Hi, > > What do you mean with psocket() ? > > - Markus > > On Mon, May 06, 2

[PHP-DEV] CVS Account Request: attila

2002-05-06 Thread Attila Strauss
- Maintaining DOMXML documentation - Translating new DOMXML functions into german -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RE: [Gallery-users] can't create albums (fwd)

2002-05-06 Thread James E. Flemer
Perhaps this broke it: (it looks like the most recent change to mkdir()) http://cvs.php.net/diff.php/php4/ext/standard/file.c?r1=1.203&r2=1.204&ty=u I am looking into it. -James On Mon, 6 May 2002, Rasmus Lerdorf wrote: > Bug 16905 seems to be real and is biting a few people on *BSD. It looks

Re: [PHP-DEV] RE: [Gallery-users] can't create albums (fwd)

2002-05-06 Thread Markus Fischer
Hi, Uh christ, I hope not! Thanks for looking into that. - Markus On Mon, May 06, 2002 at 12:31:31PM -0400, James E. Flemer wrote : > Perhaps this broke it: (it looks like the most recent > change to mkdir()) > > http://cvs.php.net/diff.php/php4/ext/standard/file.c?r1=1.203&r2=1.2

Re: [PHP-DEV] RE: [Gallery-users] can't create albums (fwd)

2002-05-06 Thread Jim Winstead
James E. Flemer <[EMAIL PROTECTED]> wrote: > Perhaps this broke it: (it looks like the most recent > change to mkdir()) > > http://cvs.php.net/diff.php/php4/ext/standard/file.c?r1=1.203&r2=1.204&ty=u > > I am looking into it. passing a pointer to a mode_t (&mode) to zend_parse_parameters(), whi

Re: [PHP-DEV] RE: [Gallery-users] can't create albums (fwd)

2002-05-06 Thread James E. Flemer
Yep, on FreeBSD mode_t is "u_int16_t", whereas on Linux it is a "__u_int". -James On 6 May 2002, Jim Winstead wrote: > James E. Flemer <[EMAIL PROTECTED]> wrote: > > Perhaps this broke it: (it looks like the most recent > > change to mkdir()) > > > > http://cvs.php.net/diff.php/php4/ext/standar

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread brad lafountain
--- Christian Stocker <[EMAIL PROTECTED]> wrote: > On Mon, 6 May 2002, brad lafountain wrote: > > > > > --- Christian Stocker <[EMAIL PROTECTED]> wrote: > > > On Mon, 6 May 2002, brad lafountain wrote: > > > > > > > Hello, > > > > > > > > I have a patch for DomXML that does 2 things. It allows

Re: [PHP-DEV] PHP 4.2.1

2002-05-06 Thread Christian Stocker
> > ranting is really not necessary here :) domxml was for a long time just a > > hack and didn't follow much of the standard, therefore there is still a > > lot of not-standard stuff in there and this stuff will (hopefully) not > > removed for BC's sake... > > I honistly wasn't ranting. That wa

Re: [PHP-DEV] Re: Bug #17022: enhance socket_strerror(errno)tomakeerrno optional

2002-05-06 Thread Tom Robinson
>> What do you mean with psocket() ? Oops! - I meant pselect(). To allow one thread to wait for anything: sockets, signals and timeout. It is likely to be more robust than signal handlers a la pcntl_signal, because those can interrupt PHP execution at any time, and that is asking for trouble.

[PHP-DEV] PHP 4.2.1 RC2

2002-05-06 Thread derick
Hello, I just rolled a tarball for the second release candidate for 4.2.1. Please test building this, an especially the following things: The DOM XML extension Sessions The socket extension touch() (under windows, especially of the time is correct now) The COM extension You can submit your tes

[PHP-DEV] Re: [PHP-QA] PHP 4.2.1 RC2

2002-05-06 Thread Rasmus Lerdorf
Did the *BSD mkdir fix make it in? On Mon, 6 May 2002 [EMAIL PROTECTED] wrote: > Hello, > > I just rolled a tarball for the second release candidate for 4.2.1. Please > test building this, an especially the following things: > > The DOM XML extension > Sessions > The socket extension > touch() (

[PHP-DEV] Re: [PHP-QA] PHP 4.2.1 RC2

2002-05-06 Thread derick
On Mon, 6 May 2002, Rasmus Lerdorf wrote: > Did the *BSD mkdir fix make it in? Yes, I waited for that. Derick > > On Mon, 6 May 2002 [EMAIL PROTECTED] wrote: > > > Hello, > > > > I just rolled a tarball for the second release candidate for 4.2.1. Please > > test building this, an especially

[PHP-DEV] newbuild

2002-05-06 Thread fabwash
Hello, I see references to a "new build" system. What is it about? I'm struggling installing 4.2.0 on my system because there were changes in the autoconf 2.52 and it's a total pain. For example: ./configure --without-mysql configure: error: invalid package name: mysql Grr

Re: [PHP-DEV] newbuild

2002-05-06 Thread Markus Fischer
Hi, the new build system is only CVS HEAD so far. Not in any released version yet. - Markus On Mon, May 06, 2002 at 05:16:55PM -0400, fabwash wrote : > Hello, > > I see references to a "new build" system. What is it about? I'm struggling >installing 4.2.0 on my system because

[PHP-DEV] datetime.c problem

2002-05-06 Thread fabwash
On lines 597,598,599,600 there are additional carriage returns. This can't be seen on TextPad, but my compiler barfs, and I can see them in 'vi': break; } if (NULL == (ta = php_localtime_r(×tamp, &tmbuf))) {^M php_error(E_WARNING, "%s(): invalid lo

Re: [PHP-DEV] datetime.c problem

2002-05-06 Thread Markus Fischer
Hi, thx, fixed in CVS. - Markus On Mon, May 06, 2002 at 05:33:20PM -0400, fabwash wrote : > On lines 597,598,599,600 there are additional carriage returns. This can't be seen >on TextPad, but my compiler barfs, and I can see them in 'vi': > > break; > } >

[PHP-DEV] mime_magic broken in CVS?

2002-05-06 Thread Magnus M
Is mime_magic broken, or am I doing something wrong ? Using: (Debian 3) gcc 2.95.4 latest CVS /bin/sh /mnt/data1/Apps/CVS/PHP/php4/libtool --mode=compile gcc -Iext/mime_magic/ -I/mnt/data1/Apps/CVS/PHP/php4/ext/mime_magic/ -DPHP_ATOM_INC -I/mnt/data1/Apps/CVS/PHP/php4/include -I/mnt/data1/App

[PHP-DEV] Procedure to compile PHP 4.2.0 on a Tandem/Compaq/HP Nonstop Kernel system G06

2002-05-06 Thread fabwash
How to compile PHP on a HP (yes it's HP now) Nonstop Kernel Himalaya System running OSS G06: WARNING: THIS PROCEDURE HAS ONLY BEEN TESTED ON G06 SYSTEMS AND PHP-4.2.0. THERE IS NO GUARANTEE THAT IT WILL EVEN WORK ON YOUR SYSTEM. THIS IS A DRAFT AND YOU SHOULD NOT USE THIS NOTE TO INSTALL PHP

[PHP-DEV] Building a simple .DLL extension using Cygwin?

2002-05-06 Thread Jon Baer
Hi, Im trying to build a simple "Hello World" C extension using Cygwin but can't find any examples or how this can be accomplished ... can anyone give a hint? Thanks. - Jon -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] detecting php versions

2002-05-06 Thread brad lafountain
Hello, My extension uses php_start_ob_buffer() i am trying to cross compile it from php-4.1.2 and php-4.2.0. Well the number of parameters in php_start_ob_buffer changed and PHP_API_VERSION stayed the same between the two. Is there a way that i can detect this at compile time. - Brad __

[PHP-DEV] CVS Account Request: baba

2002-05-06 Thread Baba Buehler
PEAR Date & Date_TimeZone classes -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] newbuild

2002-05-06 Thread derick
On Mon, 6 May 2002, fabwash wrote: > Hello, > > I see references to a "new build" system. What is it about? I'm struggling >installing 4.2.0 on my system because there were changes in the autoconf 2.52 and >it's a total pain. For example: 2.52 is a big mess, it won't work correctly. You shoul

Re: [PHP-DEV] detecting php versions

2002-05-06 Thread andrey
Hi, Brad. Maybe this will help you: bash-2.04$ cat php_version.h /* automatically generated by configure */ /* edit configure.in to change version number */ #define PHP_VERSION "4.2.0" bash-2.04$ - Original Message - From: "brad lafountain" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

Re: [PHP-DEV] Building a simple .DLL extension using Cygwin?

2002-05-06 Thread Markus Fischer
Hi, Look into the ext/ directory how extensions are written (config.m4, php_ext.c and php_ext.h). If you look in into the source you will recognize they all follow a similar pattern. There's also a bit documentation about it: http://www.php.net/manual/en/zend.php (a bit o

Re: [PHP-DEV] detecting php versions

2002-05-06 Thread derick
On Mon, 6 May 2002, brad lafountain wrote: > Hello, > > My extension uses php_start_ob_buffer() i am trying to cross compile it from > php-4.1.2 and php-4.2.0. Well the number of parameters in php_start_ob_buffer > changed and PHP_API_VERSION stayed the same between the two. Is there a way > tha