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

2002-03-19 Thread Zeev Suraski
I made two changes - one was whitespace only, the other one was the initialization of ms... Zeev At 21:47 19/03/2002, Marcus Boerger wrote: >At 20:16 19.03.2002, you wrote: >zeevTue Mar 19 14:16:21 2002 EDT > > Modified files: > /php4/main memory_streams.c > Log: > Poss

Re: [PHP-DEV] configure broken: Iconv detection still not right...

2002-03-19 Thread Adam Maccabee Trachtenberg
It happens with me w/ latest CVS. autoconf 2.13, automake 1.4p5, libtool 1.4. -adam On Wed, 20 Mar 2002, Jani Taskinen wrote: > > And this happens with latest CVS? > Which autoconf/automake/etc versions you have? > > --Jani > > > > On Wed, 20 Mar 2002, Wez Furlong wro

Re: [PHP-DEV] configure broken: Iconv detection still not right...

2002-03-19 Thread Jani Taskinen
And this happens with latest CVS? Which autoconf/automake/etc versions you have? --Jani On Wed, 20 Mar 2002, Wez Furlong wrote: >Hey guys, > >There's something screwy with the iconv detection/config that's >mangling configure - it's generating code like this: > >Line 2818

[PHP-DEV] configure broken: Iconv detection still not right...

2002-03-19 Thread Wez Furlong
Hey guys, There's something screwy with the iconv detection/config that's mangling configure - it's generating code like this: Line 28183 or so of configure: case $iconv_lib_name in c|c_r|pthread* fi ;; *) LIBS="-l$iconv_lib_name $LIBS" ;; esac The "fi" looks total

Re: [PHP-DEV] fgetss_state - seemingly unused

2002-03-19 Thread Rasmus Lerdorf
This is a remnant from my original implementation in PHP 2. It was committed: Mon May 20 15:20:25 1996 (5 years, 10 months ago) Having that level of revision history is actually pretty cool if you ask me. This is the diff: http://cvs.php.net/diff.php/phpfi/src/file.c?r1=1.13&r2=1.14&ty=u So i

Re: [PHP-DEV] [BUG]vulnerabilities in PHP's file uploadcode - stilluncovered in 4.1.2

2002-03-19 Thread Yasuo Ohgaki
[EMAIL PROTECTED] wrote: > Hello, > > there are numerous ways to crash PHP, ;) > it's not that critical, because no > access to the system can be gained. I don't think this warrants 4.1.3. > > Derick > Fair. I already closed the report. -- Yasuo Ohgaki > On Tue, 19 Mar 2002, Yasuo Ohgak

Re: [PHP-DEV] Floating point comparisons - A fix

2002-03-19 Thread Rasmus Lerdorf
That'd be a pretty serious performance hit to take. Do you know of any language where floating point comparisons work like that? Certainly in both C and Perl you will never get 0.8 to equal 0.7+0.1 exactly. Just because nobody else does it is of course not reason enough not to do it, but doing

Re: [PHP-DEV] Floating point comparisons - A fix

2002-03-19 Thread Marcus Börger
But there is an I-triple-E standard (as mentioned) and that has - the nature of floating point dictates it - only a small amount of relevant numbers. Additionally computers work with binary data whereas humans work with decimals. Therfore you cannot expect floating point numbers to be able to repr

Re: [PHP-DEV] Floating point comparisons - A fix

2002-03-19 Thread Alan Knowles
wouldnt ~== ,~>, ~<, ~>= etc. be relivant here - from what I remember of maths, (to long ago) ~ was the symbol for similar (and 2 together for approximatly equal) - hey even found a reference for it... http://www.gomath.com/htdocs/ToGosheet/algebra/mathsymbols.html the only thing is it wo

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

2002-03-19 Thread Wez Furlong
I've added a flag to make_seekable that allows the caller to indicate that they prefer a file-based stream as opposed to a temp_stream and enabled the temp streams now in CVS as the default seekable stream. (I forgot to mention that part in my latest commit message). I've also given the temp_stre

[PHP-DEV] OT? buffer overflow attacks

2002-03-19 Thread Richard Lynch
PHP is in contention for an XML/RPC server/client system for the configuration panel of IPCop (http://ipcop.org) a stand-alone firewall project running on stock hardware with a stripped-down RedHat Linux. This project is a fork from the more infamous SmoothWall, without the, ahem, project man

Re: [PHP-DEV] fgetss_state - seemingly unused

2002-03-19 Thread Stefan Roehrich
On 2002-03-19 21:35:09, Wez Furlong wrote: > Well, that appears to be the intention, but I couldn't see > a single line where the state variable is assigned to; it's > passed by value, so I can't see how FG(fgetss_state) is ever > set to a value other than 0? Ups, this really looks like an oversi

[PHP-DEV] Extending Overloaded Objects

2002-03-19 Thread brad lafountain
Hello, I was just looking into how php was handing Objects extended from Overloaded objects. eg.. class ext_java extends Java { function ext_java() { echo "here"; } } $ob = new ext_java(); in this example the Java call handler for the over loaded object gets called and the ext_java

Re: [PHP-DEV] fgetss_state - seemingly unused

2002-03-19 Thread Wez Furlong
Well, that appears to be the intention, but I couldn't see a single line where the state variable is assigned to; it's passed by value, so I can't see how FG(fgetss_state) is ever set to a value other than 0? Have I missed it? --Wez. On 20/03/02, "Stefan Roehrich" <[EMAIL PROTECTED]> wrote: > O

Re: [PHP-DEV] fgetss_state - seemingly unused

2002-03-19 Thread Stefan Roehrich
On 2002-03-18 23:23:00, Wez Furlong wrote: > Does anyone know what purpose FG(fgetss_state) serves? As I remember it holds the internal state of php_strip_tags. > It doesn't appear to do anything other than hold the value > 0 for php_strip_tags. > Is this an oversight or a leftover of some old c

Re: [PHP-DEV] [patch] ming ./. trivial fix for streams error

2002-03-19 Thread Markus Fischer
Applied, thanks! On Tue, Mar 19, 2002 at 09:42:49PM +0100, Lukas Schroeder wrote : > hi! > > during the streams changes a tiny error was introduced checking the > return code of php_stream_cast the wrong way around... > > this patch against latest CVS fixes it. > someone with enough karma,

[PHP-DEV] [patch] ming ./. trivial fix for streams error

2002-03-19 Thread Lukas Schroeder
hi! during the streams changes a tiny error was introduced checking the return code of php_stream_cast the wrong way around... this patch against latest CVS fixes it. someone with enough karma, please apply. regards, -lukas Index: ext/ming/ming.c =

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

2002-03-19 Thread Marcus Boerger
At 20:16 19.03.2002, you wrote: zeevTue Mar 19 14:16:21 2002 EDT Modified files: /php4/main memory_streams.c Log: Possibly fix a crash - Marcus, please take a look at it... Just coming in - need some more time - but The first patch was only moving the emacs folding

[PHP-DEV] Session Patch

2002-03-19 Thread Walter A. Boring IV
Howdy, I have created a patch against the latest CVS to add a couple new functions to the session extension. They enable some new features that would be useful for folks building Applications with PHP. I currently need the abilities that these functions enable. By default These new functions

Re: [PHP-DEV] iconv configure problem

2002-03-19 Thread Jon Parise
On Tue, Mar 19, 2002 at 01:30:22PM +0200, Jani Taskinen wrote: >Does this attached patch fix it? >(nice to have the checks in one place :) Yes, everything is now working fine. Please go ahead and commit the changes, and thanks for you quick reply. > >The latest iconv detection code doe

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

2002-03-19 Thread Ludovico Magnocavallo
sure, as soon as I get php4 karma =) L. <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > On Tue, 19 Mar 2002, Ludovico Magnocavallo wrote: > > > Derick Daniela patch allows tests 3-6 in ext/interbase/tests to pass, while > > before this patch tests 3

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

2002-03-19 Thread derick
Hello, On Tue, 19 Mar 2002, Ludovico Magnocavallo wrote: > Derick Daniela patch allows tests 3-6 in ext/interbase/tests to pass, while > before this patch tests 3 6 failed. > > BTW, I wonder if people uses tests before committing, as Interbase tests > appear never to have been run, table defini

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

2002-03-19 Thread Ludovico Magnocavallo
Derick Daniela patch allows tests 3-6 in ext/interbase/tests to pass, while before this patch tests 3 6 failed. BTW, I wonder if people uses tests before committing, as Interbase tests appear never to have been run, table definitions in tests 3/6 have a coulm of type DATE that cannot accept the d

[PHP-DEV] number fix on interbase.c

2002-03-19 Thread Daniela Mariaschi
Hey, Using latest.tar.gz I found out that DECIMAL/NUMERIC values don' t display correctly because of this instruciton: number /= - 10 * scale; I correct it and already committed on CVS cause it was a really serious bug . Any objection? Daniela -- PHP Development Mailing List

[PHP-DEV] Re: Interbase -> Firebird

2002-03-19 Thread Ludovico Magnocavallo
Firebird has the same codebase as Interbase 6.0, but its development is managed by a team of independent developers, not from Borland itself. Firebird 0.94 (the 1st Firebird release) is essentially the same as Interbase 6.0, Firebird 1.0, the new Firebird release, adds a few syntax constructs (ma

[PHP-DEV] Interbase -> Firebird

2002-03-19 Thread Sebastian Bergmann
Just read a news bulletin about Firebird http://firebird.sourceforge.net/ Is the Interbase up to handle Firebird? Should it be renamed to ext/firebird? Just curious, Sebastian -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did

Re: [PHP-DEV] Re: Global data with session handler

2002-03-19 Thread brad lafountain
--- Yasuo Ohgaki <[EMAIL PROTECTED]> wrote: > Brad Lafountain wrote: > > I was wondering if anyone has ever thought of comming up with a different > way > > of handling the code below. I know that you can use shared memory, but that > > wont work for win and it wont work for web cluseters using d

[PHP-DEV] How to Make a Library

2002-03-19 Thread Alexandre Soares
Hi all, It's my first question in this list, I hope be smart (ops), so how to make a library where this library is written c, of course I wnat procedures to make thi using linux or unix systems I not sure if I want know in windows system. The general propose of this is in a prog

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

2002-03-19 Thread Dave Mertens
On Tue, Mar 19, 2002 at 01:18:26PM -, Thomas Wentzel wrote: > Tanslating the documentation into danish Revoking my last remark (in Dutch) about translations.. Really, it's a hot item ;-) Dave Mertens -- PHP Development Mailing List To unsubscribe, visit: http://www.p

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

2002-03-19 Thread Dave Mertens
On Tue, Mar 19, 2002 at 02:14:09PM +0100, [EMAIL PROTECTED] wrote: > > Translating manual to Dutch > Whoa! > Eindelijk weer een geinteresseerde :) Is het zo erg dan?? Valt toch best mee. Persoonlijk houd ik commentaar zo-ie-zo al engels. En verder betwijfel ik eigenlijk het nu van een vertaling

[PHP-DEV] CVS Account Request: wentzel

2002-03-19 Thread Thomas Wentzel
Tanslating the documentation into danish -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2002-03-19 Thread derick
Whoa! Eindelijk weer een geinteresseerde :) Derick On 19 Mar 2002, Dirkjan Ochtman wrote: > Translating manual to Dutch > > -- > PHP Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --

Re: [PHP-DEV] Build changes - dynamic exports

2002-03-19 Thread Stanislav Malyshev
SS>> Should work fine now Does work fine. Thanks :) -- Stanislav Malyshev, Zend Products Engineer [EMAIL PROTECTED] http://www.zend.com/ +972-3-6139665 ext.115 -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: manuzhai

2002-03-19 Thread Dirkjan Ochtman
Translating manual to Dutch -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Build changes - dynamic exports

2002-03-19 Thread Sascha Schumann
Should work fine now On Tue, 19 Mar 2002, Jani Taskinen wrote: > > Sascha? > > --Jani > > > On Tue, 19 Mar 2002, Stanislav Malyshev wrote: > > >I have noticed that somewhere after 4.1.2 PHP build process was changed > >and now PHP does not export dynamic symbols (dlopen on .so that u

Re: [PHP-DEV] Build error

2002-03-19 Thread Sascha Schumann
> It won't be a problem in releases anyway, these come with the pregenerated > files, but perhaps it's a good idea to remove the .re files from this. > Sascha, what's your opinion on this? Why should we prevent users from changing the source by delivering only parts of the source-code?

Re: [PHP-DEV] Build error

2002-03-19 Thread Sascha Schumann
On Tue, 19 Mar 2002, [EMAIL PROTECTED] wrote: > On Tue, 19 Mar 2002, Yasuo Ohgaki wrote: > > > Is it possible to bundle re2c? or make it required > > build tool? and delete generated C source? > > I think this is not a good idea, the install base of re2c is very small. > No major distribution inc

Re: [PHP-DEV] iconv configure problem

2002-03-19 Thread Jani Taskinen
Does this attached patch fix it? (nice to have the checks in one place :) --Jani On Mon, 18 Mar 2002, Jon Parise wrote: >The latest iconv detection code doesn't appear to account for the >case where iconv_open() is defined in libiconv. It only checks >for iconv_open() in lib

Re: [PHP-DEV] Build changes - dynamic exports

2002-03-19 Thread Jani Taskinen
Sascha? --Jani On Tue, 19 Mar 2002, Stanislav Malyshev wrote: >I have noticed that somewhere after 4.1.2 PHP build process was changed >and now PHP does not export dynamic symbols (dlopen on .so that uses >PHP/Zend symbols fails). Adding -Wl,-export-dynamic fixes this - at l

Re: [PHP-DEV] [BUG]vulnerabilities in PHP's file uploadcode - still uncovered in 4.1.2

2002-03-19 Thread sesser
On Tue, Mar 19, 2002 at 11:41:41AM +0100, [EMAIL PROTECTED] wrote: > > I know, but I still don't think it warrants 4.1.3 :) > > > But honestly i doubt a kiddie will use this bug to dos a server. Apache will > > respawn all its childs anyway and for the kids its much easier to use > > their stup

Re: [PHP-DEV] [BUG]vulnerabilities in PHP's file uploadcode - stilluncovered in 4.1.2

2002-03-19 Thread derick
On Tue, 19 Mar 2002, Stefan Esser wrote: > > Ehmm there is one thing that makes it more serious than the other crash > bugs: > its remotely triggerable. I know, but I still don't think it warrants 4.1.3 :) > But honestly i doubt a kiddie will use this bug to dos a server. Apache will > respawn

Re: [PHP-DEV] [BUG]vulnerabilities in PHP's file uploadcode - still uncovered in 4.1.2

2002-03-19 Thread Stefan Esser
Ehmm there is one thing that makes it more serious than the other crash bugs: its remotely triggerable. But honestly i doubt a kiddie will use this bug to dos a server. Apache will respawn all its childs anyway and for the kids its much easier to use their stupid smurf or whatever tools, than to

Re: [PHP-DEV] [BUG]vulnerabilities in PHP's file uploadcode - stilluncovered in 4.1.2

2002-03-19 Thread derick
Hello, there are numerous ways to crash PHP, it's not that critical, because no access to the system can be gained. I don't think this warrants 4.1.3. Derick On Tue, 19 Mar 2002, Yasuo Ohgaki wrote: > It seems a user have noticed that PHP segfaults. > > http://bugs.php.net/bug.php?id=16067&e

[PHP-DEV] Build changes - dynamic exports

2002-03-19 Thread Stanislav Malyshev
I have noticed that somewhere after 4.1.2 PHP build process was changed and now PHP does not export dynamic symbols (dlopen on .so that uses PHP/Zend symbols fails). Adding -Wl,-export-dynamic fixes this - at least on Linux - but I want to understand: a) what was the change that brought to it,

[PHP-DEV] [BUG]vulnerabilities in PHP's file uploadcode - still uncovered in4.1.2

2002-03-19 Thread Yasuo Ohgaki
It seems a user have noticed that PHP segfaults. http://bugs.php.net/bug.php?id=16067&edit=1 AFAIK, releasing 4.1.3 will solve this. Question is we are going or not going to release it. -- Yasuo Ohgaki -- PHP Development Mailing List To unsubscribe, visit: http://www.ph

[PHP-DEV] Updating Chora?

2002-03-19 Thread Sebastian Bergmann
'lo there, just surfed over to horde.org for the first time in months and saw that Chora 1.0 is out. Could someone update the Chora installation on cvs.php.net from 0.6.5 to 1.0? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did

Re: [PHP-DEV] newbie : problems with ibase_connect .

2002-03-19 Thread Vladimir Michl
On Wed, 13 Mar 2002, Araxav wrote: > Hi everyone ! > > I'm trying to establish a connection to a remote Interbase Database. I use > the same login and password as i'm used to but it doesn't work :((( > I obtain the following warning message : > > and the connection fails... > > I use this cod

[PHP-DEV] sending email to text

2002-03-19 Thread eugene
Hi, I don't know if you are able to help, but I'm currently doing a project at college where I have to send an email from my PC to my phone. I have asked for help on a number of occasions but always get sent to a company that charges for them to send the text.   If you could help I would be m