Re: [PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV]bug #19943)

2002-11-05 Thread Andi Gutmans
We'll take a look at this. Thanks, Andi At 07:48 AM 11/6/2002 +0900, Moriyoshi Koizumi wrote: The attached patch may be a fix for that bug. Hope it works. Moriyoshi Moriyoshi Koizumi <[EMAIL PROTECTED]> wrote: > I looked into it, and I've found you really got a point. > >

[PHP-DEV] CyberMut and SPPLUS

2002-11-05 Thread nicos
Hello, I see that CyberMut a paiement system from one of our french bank has got its own extension. I'm working for SPPLUS one of an another bank in France. I was wondering if we could also add an extension for it... I just finished it and it works really fine with PHP-4.2.3 and PHP-4.3.0pre2

Re: [PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV] bug #19943)

2002-11-05 Thread Ilia A.
On November 5, 2002 09:44 pm, Moriyoshi Koizumi wrote: > Ilia, thank you for double-checking. > > Since I have no access to Zend module, I'm waiting for that to be > committed by someone for now... Does it need more review? It would probably be a good idea if more developers review this patch befo

Re: [PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV] bug #19943)

2002-11-05 Thread Moriyoshi Koizumi
Ilia, thank you for double-checking. Since I have no access to Zend module, I'm waiting for that to be committed by someone for now... Does it need more review? Moriyoshi "Ilia A." <[EMAIL PROTECTED]> wrote: > The new appears to work correctly and previously mentioned problem no longer > occ

Re: [PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV] bug #19943)

2002-11-05 Thread Ilia A.
The new appears to work correctly and previously mentioned problem no longer occures. I've also ran the test suit after applying the patch and none of the tests have been adversly affected, so it does not appear to break any old functionality. Ilia On November 5, 2002 09:17 pm, Moriyoshi Koizu

Re: [PHP-DEV] CVS Account Request: mrioux

2002-11-05 Thread Chris Shiflett
Out of curiosity - why is this? I assume it is because such an extension would somehow be required to be covered under the GPL as well, but I don't understand that. Shouldn't it be possible for the PHP extension's code to be licensed any license and simply use a GPL library? The extension's cod

Re: [PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV] bug #19943)

2002-11-05 Thread Moriyoshi Koizumi
> The patch does work and memory leak goes away after it is applied. There is > another problem that I've just noticed. If you increase the loop from 10 to > 100 then you'll see that the $ragged[$count]['idx'] value is always the 1st > character of the $ragged[$count] value. > If a var_dump of

Re: [PHP-DEV] [Sorta OT] Mystery zcontext?

2002-11-05 Thread Wez Furlong
Hi John, It's for some funky stuff that won't really come into it's own until version 5 of PHP. ATM, you can use stream_context_XXX family of functions to do: o Set notification callbacks. These can be used to implement progress bars for event driven applications. o Set parameters for the vari

Re: [PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV] bug #19943)

2002-11-05 Thread Ilia A.
The patch does work and memory leak goes away after it is applied. There is another problem that I've just noticed. If you increase the loop from 10 to 100 then you'll see that the $ragged[$count]['idx'] value is always the 1st character of the $ragged[$count] value. If a var_dump of an array i

Re: [PHP-DEV] CVS Account Request: mrioux

2002-11-05 Thread Pierre-Alain Joye
On Wed, 06 Nov 2002 08:02:27 +0900 Moriyoshi Koizumi <[EMAIL PROTECTED]> wrote: > Hmm, I'm afraid that I have to mention you a PECL module that seems > very similar to your module... Do not be afraid, collaboration or help are always wellcomed :-) pa ps: Martial, inscrit toi a peardev si tu voi

Re: [PHP-DEV] CVS Account Request: mrioux

2002-11-05 Thread Moriyoshi Koizumi
Hmm, I'm afraid that I have to mention you a PECL module that seems very similar to your module... Check out this one: http://cvs.php.net/cvs.php/pear/PECL/smbc Moriyoshi "Martial Rioux" <[EMAIL PROTECTED]> wrote: > Hi, > I Request CVS account to contribute a new extension base on smbclient f

[PHP-DEV] [PATCH] A suggested fix for bug #19943 (Re: [PHP-DEV] bug #19943)

2002-11-05 Thread Moriyoshi Koizumi
The attached patch may be a fix for that bug. Hope it works. Moriyoshi Moriyoshi Koizumi <[EMAIL PROTECTED]> wrote: > I looked into it, and I've found you really got a point. > > --- > $ragged = array(); > $ragged[0] = "a"; > $ragged[0][0] = array("1"); > var_dump($rag

[PHP-DEV] gettext change the behaviour of double scalar

2002-11-05 Thread Jean-Pierre Arneodo
Hi, This is verified with 4.1.2 and 4.2.3 but not with 4.3.Opre2 [config] Apache 1.3.27 RedHat 7.2 gettext-0.11.15 [myFile.php] $lang='fr_FR'; putenv("LANG=$lang"); setlocale(LC_ALL,$lang); bindtextdomain($domain,"/MyDir/i18n"); textdomain($domain); $a=10.12345; echo $a; // print 10.12345 requi

Re: [PHP-DEV] bug #19943

2002-11-05 Thread Moriyoshi Koizumi
I looked into it, and I've found you really got a point. --- --- The first script causes no leaks, while the second does: --- --- Thanks for your insight. Moriyoshi "Ilia A." <[EMAIL PROTECTED]>

Re: [PHP-DEV] CVS Account Request: mrioux

2002-11-05 Thread Rasmus Lerdorf
libsmbclient is gpl'ed, correct? We cannot accept extensions that are written specifically against a single GPL'ed library. Sorry. -Rasmus On 5 Nov 2002, Martial Rioux wrote: > Hi, > I Request CVS account to contribute a new extension base on smbclient from SAMBA. >This extension is actualy l

[PHP-DEV] CVS Account Request: mrioux

2002-11-05 Thread Martial Rioux
Hi, I Request CVS account to contribute a new extension base on smbclient from SAMBA. This extension is actualy located in php4/ext/smbc, from my developpement tree. Supported functions: smbc_connect smbc_disconnect smbc_open smbc_close smbc_read smbc_write smbc_seek I also made bas

Re: [PHP-DEV] MySQL UDF that runs PHP

2002-11-05 Thread Rasmus Lerdorf
Cool - will play with it a bit here. On Tue, 5 Nov 2002, David Sklar wrote: > Based on Edin Kadribasic's PHP "embed" SAPI module, I wrote a MySQL UDF that > interprets PHP. You can get it here: > > --> http://www.sklar.com/myphp-0.1.tar.gz > > I'd be curious for any comments or suggestions folks

[PHP-DEV] [Sorta OT] Mystery zcontext?

2002-11-05 Thread John Coggeshall
I was digging around the ext/standard today and I wanted to do something with the file access stuff, however I'm a bit lost on something... I'd appreciate it if someone could explain this (as it's basically undocumented). What is the fourth parameter for the fopen() function? It's listed as a res

[PHP-DEV] MySQL UDF that runs PHP

2002-11-05 Thread David Sklar
Based on Edin Kadribasic's PHP "embed" SAPI module, I wrote a MySQL UDF that interprets PHP. You can get it here: --> http://www.sklar.com/myphp-0.1.tar.gz I'd be curious for any comments or suggestions folks have. Thanks, David Sklar -- PHP Development Mailing List To

Re: [PHP-DEV] ZE2 & configure

2002-11-05 Thread Andi Gutmans
I can't remember who did this patch. Sascha? Can someone who knows exactly what needs merging do so please? Andi At 04:50 AM 11/2/2002 +0200, Jani Taskinen wrote: Some people don't bother doing MFZE1... --Jani On Fri, 1 Nov 2002, Marcus Boerger wrote: >The build system complains tha

Re: [PHP-DEV] bug #19943

2002-11-05 Thread Ilia A.
I agree with you that this bug may not be critical, I am not certain why it was marked as such, however I do believe this is a bug that should be fixed. If my understand of the situation is correct, the memory leak is the result of original $ragged[$count] = "$count"; expression. At this point ZE

[PHP-DEV] bug #19943

2002-11-05 Thread Moriyoshi Koizumi
This appears not a bug, but an expected behaviour for me. Let's change it from "Critial" to "Won't Fix" or so on. --- --- The above snippet is actually a variant of the followi

Re: [PHP-DEV] Core Component

2002-11-05 Thread Melvyn Sopacua
At 12:29 11/5/2002 -0500, Adam Voigt wrote: Just curious, someone asked me why isn't PEAR (specifically the DB abstraction) directly written into the PHP engine (in C or whatever PHP itself is written in) and I couldn't come up with an answer so I thought I'd ask here. For the exact same reason

Re: [PHP-DEV] TSRM & compiler warnings

2002-11-05 Thread Andi Gutmans
Commited. Thanks. Andi At 02:04 PM 11/5/2002 +0100, Marcus Boerger wrote: Could someone with karma please commit following patch or give me karma for tsrm? It would silence all those warnings at once: /usr/src/php4-HEAD/TSRM/TSRM.c: In function `tsrm_startup': /usr/src/php4-HEAD/TSRM/TSRM.c:124

RE: [PHP-DEV] Core Component

2002-11-05 Thread Lukas Smith
> From: Adam Voigt [mailto:adam@;cryptocomm.com] > Sent: Tuesday, November 05, 2002 6:29 PM > To: [EMAIL PROTECTED] > Subject: [PHP-DEV] Core Component > > Just curious, someone asked me why isn't PEAR (specifically the DB > abstraction) directly written into the PHP engine (in C or whatever PHP >

[PHP-DEV] Core Component

2002-11-05 Thread Adam Voigt
Just curious, someone asked me why isn't PEAR (specifically the DB abstraction) directly written into the PHP engine (in C or whatever PHP itself is written in) and I couldn't come up with an answer so I thought I'd ask here. Adam Voigt [EMAIL PROTECTED] -- PHP Development Mailing List

[PHP-DEV] Re: #20263 [Opn->]: feof doesn't work with --with-curlwrappers

2002-11-05 Thread Melvyn Sopacua
Ehm, I don't think you should make this "Won't fix". Having an open bug for this, can serve as a reminder for the maintainer, that they should look at it. 'Suspend and assigned' is a better one - we WILL in fact fix it and IMHO we shouldn't discourage people testing experimental code. At 16:19 1

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

2002-11-05 Thread Marcus Boerger
At 15:32 05.11.2002, Wez Furlong wrote: Hi Marcus, I'm assuming that it's a warning about result being uninitialized; if that is the case, lets just initialize it to zero in it's declaration. Yes. It did it there so that further warnings may arise. The cleanup code in errexit: inspects the fi

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

2002-11-05 Thread Wez Furlong
Hi Marcus, I'm assuming that it's a warning about result being uninitialized; if that is the case, lets just initialize it to zero in it's declaration. The cleanup code in errexit: inspects the first byte of tmp_line before attempting to use it; it might also be a good idea to initialize tmp_line

Re: [PHP-DEV] Win32 snaps ext/xslt

2002-11-05 Thread Melvyn Sopacua
At 14:58 11/5/2002 +0100, Edin Kadribasic wrote: > As a note: > Ginger Alliance is motivated to synchronise their next maintenance release, > with php 4.3, to avoid the unfortunate API incompatibilities, that plagued > previous releases and created noise, both on sablist as on the php-bug > db. >

Re: [PHP-DEV] ODBTP, a possible solution for MS-SQL and other databases

2002-11-05 Thread Maxim Maletsky
"Wez Furlong" <[EMAIL PROTECTED]> wrote... : > As for developer interest; most of the "big boys" are attending a > conference this week/weekend, so don't be disheartened if you still > haven't had much response before the next weekend. Considering the wireless network problems we are having, an

Re: [PHP-DEV] Win32 snaps ext/xslt

2002-11-05 Thread Edin Kadribasic
> As a note: > Ginger Alliance is motivated to synchronise their next maintenance release, > with php 4.3, to avoid the unfortunate API incompatibilities, that plagued > previous releases and created noise, both on sablist as on the php-bug > db. > > Allthough we try to keep compatibility with 0.96

Re: [PHP-DEV] Win32 snaps ext/xslt

2002-11-05 Thread Melvyn Sopacua
At 08:29 11/5/2002 -0500, Ilia A. wrote: It appears that the Sablotron needs to be upgraded as well, since xstl cannot be compiled due to 2 missing flags ('SAB_DISABLE_STRIPPING','SAB_IGNORE_DOC_NOT_FOUND'), which I am guessing are only defined in the newer library. By the way: this error only

Re: [PHP-DEV] Win32 snaps ext/xslt

2002-11-05 Thread Melvyn Sopacua
At 14:01 11/5/2002 +0100, Edin Kadribasic wrote: > Any chance the sablot library on the snaps server could be > upgraded? The library has been upgraded to 0.96. Thanx, Edin! As a note: Ginger Alliance is motivated to synchronise their next maintenance release, with php 4.3, to avoid the unfor

Re: [PHP-DEV] Win32 snaps ext/xslt

2002-11-05 Thread Edin Kadribasic
> It appears that the Sablotron needs to be upgraded as well, since xstl cannot > be compiled due to 2 missing flags > ('SAB_DISABLE_STRIPPING','SAB_IGNORE_DOC_NOT_FOUND'), which I am guessing are > only defined in the newer library. You're guessing right. Those compile errors have disappeared aft

Re: [PHP-DEV] Win32 snaps ext/xslt

2002-11-05 Thread Ilia A.
It appears that the Sablotron needs to be upgraded as well, since xstl cannot be compiled due to 2 missing flags ('SAB_DISABLE_STRIPPING','SAB_IGNORE_DOC_NOT_FOUND'), which I am guessing are only defined in the newer library. Ilia On November 5, 2002 08:01 am, Edin Kadribasic wrote: > > Any ch

Re: [PHP-DEV] ODBTP, a possible solution for MS-SQL and other databases

2002-11-05 Thread Maxim Maletsky
"Robert Twitty" <[EMAIL PROTECTED]> wrote... : > > What about RECORD type for Oracle? Objects? XMLType(s)? Have you had a > > chance to play with them yet? > > > I have not tried those types (I primarilly use it for MS-SQL), however, > ODBTP can be easily modified to accomadate any type. The ke

[PHP-DEV] TSRM & compiler warnings

2002-11-05 Thread Marcus Boerger
Could someone with karma please commit following patch or give me karma for tsrm? It would silence all those warnings at once: /usr/src/php4-HEAD/TSRM/TSRM.c: In function `tsrm_startup': /usr/src/php4-HEAD/TSRM/TSRM.c:124: warning: left-hand operand of comma expression has no effect /usr/src/php4

Re: [PHP-DEV] Win32 snaps ext/xslt

2002-11-05 Thread Edin Kadribasic
> Any chance the sablot library on the snaps server could be > upgraded? The library has been upgraded to 0.96. Edin -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ODBTP, a possible solution for MS-SQL and other databases

2002-11-05 Thread Robert Twitty
> > The name of the service is called ODBTP (Open Database > > Transport Protocol), and no there is not a RFC for this protocol. Thus > > far, I have successfully accessed MS-SQL, Oracle and Sybase databases via > > ODBTP. > > Have Oracle ran well through it? > Yes. > > > * Supports all data type

Re: [PHP-DEV] ODBTP, a possible solution for MS-SQL and other databases

2002-11-05 Thread Maxim Maletsky
"Robert Twitty" <[EMAIL PROTECTED]> wrote... : > In other words, it allows a PHP > client on UNIX to access a database using the ODBC drivers installed on a > Windows NT / 2000 server. It is nothing more than a middle man service for > Win32 ODBC. Sounds interesting. > The name of the service

Re: [PHP-DEV] Variable Functions?

2002-11-05 Thread Maxim Maletsky
Is this really needed? -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home // my Wish List: ( Get me something! ) http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3 "Dan Hardiker" <[EMAIL PROTECTED]> wrote... : > Hi All, >

Re: [PHP-DEV] Documentation for Zend API for PHP Extensions

2002-11-05 Thread Maxim Maletsky
There is one here: http://www.php.net/manual/en/zend.php -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home // my Wish List: ( Get me something! ) http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3 "Diggy Bell" <[EMAIL PR

Re: [PHP-DEV] Build PHP under windows - SNMP the objective

2002-11-05 Thread Maxim Maletsky
You should be using MS Visual Studio v6+ to build PHP from sources for Win32. -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home // my Wish List: ( Get me something! ) http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3 <[E

Re: [PHP-DEV] OCISaveLob, OCILoadLob, OCISaveFile?

2002-11-05 Thread Maxim Maletsky
Try looking at how they behave on oracle development network (otn.oracle.com, docs.oracle.com). In PHP they are not yet fully documented. Working on it. -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home // my Wish List: ( Get me

Re: [PHP-DEV] Copy of Array

2002-11-05 Thread Maxim Maletsky
This should be asked on [EMAIL PROTECTED] mailing list. -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home // my Wish List: ( Get me something! ) http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3 "Laurent FOINEL" <[EMAIL

Re: [PHP-DEV] Adding mail() Parameter to Set Return Path

2002-11-05 Thread Maxim Maletsky
Hartmut Holzgraefe <[EMAIL PROTECTED]> wrote... : > Michael Sisolak wrote: > > The only downside I see to this is that the value would only work for > > the internal Win32 sendmail code and not the standard Unix calls to > > sendmail. > > A windows-only solution for a standard PHP function? > Wh

[PHP-DEV] Re: newbie: url parameters

2002-11-05 Thread nicos
You will find your answer on this page of the fine manual http://www.php.net/manual/en/reserved.variables.php Please note that this is not the correct forum for this question. This forum deals with writing the PHP language in 'c' not writing scripts with PHP. The correct forum is php-general.deta

Re: [PHP-DEV] newbie: url parms

2002-11-05 Thread Tony Leake
On Tue, 2002-11-05 at 09:32, Geert Arts wrote: > Hi, > > I just seem not to be able to pass variables from a URL to a PHP script. > When I do something like http://localhost/test.php?variablex=valuex variablex is >empty (or does even not > exist?) > > I'm running php 4.2.3 and apache 1.3.27 un

[PHP-DEV] newbie: url parameters

2002-11-05 Thread Geert Arts
Hi, I just seem not to be able to pass values of variables in a URL to a PHP script. When I do something like http://localhost/test.php?variablex=valuex, variablex is still empty (or doesn't even exist yet?) I run apache 1.3.27 and php 4.2.3 under windows. regards, Geert -- PHP Developmen

[PHP-DEV] newbie: url parms

2002-11-05 Thread Geert Arts
Hi, I just seem not to be able to pass variables from a URL to a PHP script. When I do something like http://localhost/test.php?variablex=valuex variablex is empty (or does even not exist?) I'm running php 4.2.3 and apache 1.3.27 under Windows. Thanks, Geert -- PHP Development Mailing Li