Re: [PHP-DEV] [Patch] LDAP Error reporting for 4.2.1

2002-06-26 Thread Stig Venaas
On Tue, Jun 25, 2002 at 08:13:29PM -0400, Kristofer T. Karas wrote: I'm using OpenLDAP 1.x in PHP 4.2.1, and was dismayed that $x = ldap_add(...); dumps verbiage to stderr if the add fails, despite the . Figured it'd be faster to fix it than to whine and complain. In fixing, I found

Re: [PHP-DEV] [Patch] LDAP Error reporting for 4.2.1

2002-06-26 Thread derick
On Wed, 26 Jun 2002, Stig Venaas wrote: On Tue, Jun 25, 2002 at 08:13:29PM -0400, Kristofer T. Karas wrote: I'm using OpenLDAP 1.x in PHP 4.2.1, and was dismayed that $x = @ldap_add(...); dumps verbiage to stderr if the add fails, despite the @. Figured it'd be faster to fix it

[PHP-DEV] CVS Account Request: bbd

2002-06-26 Thread Dan Bajarca
Hello My name is Dan Bajarca and I would like to contribute to the PHP Documentation Project in Romanian Language. My English is excellent and I have a strong C/C++ knowledge. I work as a full-time network administrator and I have a strong Linux/Unix experience. If you consider I

[PHP-DEV] php bytecode compiler

2002-06-26 Thread Alan Knowles
I've just been playing building a php bytecode compiler - based off of the apc serialize code. - made it thread safe and made it as a php extension that reads/writes streams - so it only works with 4.3-dev.. the tarball is at http://docs.akbkhome.com/bcompiler-0.1.tgz source files are here:

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Yasuo Ohgaki
I'm -1 for features that silently fails. User can check ini_set return value if it is successful or not. So I'm 0 for ini_set(zlib.output_compresion,Off); -- Yasuo Ohgaki Jaime Bozza wrote: sigh Unfortunately, in some cases, this won't work for me. The image scripts aren't always in their

[PHP-DEV] Re: Has this fp fix been considered? - ADDENDUM

2002-06-26 Thread George Whiffen
Oops, I forgot to sort out the catastrophic loss of precision on differences. So that means that on add and subtract we need to use the maximum fabs value of the operands to calculate the rounding trather than the result itself: So redecimalize() becomes: double redecimalize(double

Re: [PHP-DEV] Re: Has this fp fix been considered? - ADDENDUM

2002-06-26 Thread Andi Gutmans
I don't quite understand. Can you give us a few examples, how they are handled by PHP today and how they would be handled by your code. I'll start off: 0.9+0.1 0.9+0.001 8/10.0 + 0.2 I'm sure you know of juicier examples :) Andi At 02:33 PM 6/26/2002 +0100, George Whiffen wrote: Oops,

[PHP-DEV] CVS Account Request: klean

2002-06-26 Thread Klean Xhelilaj
I want to give a contribution in translating the manual in Albanian. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-26 Thread Andi Gutmans
Ivan, I just commited a patch for autoloading to the CVS. It is improved over your patch in the way I discussed (it propogates throughout Zend). I hope it works out to work well. CVS commit message: - Autoloading support based on patch from Ivan Ristic. - Again I hope this feature ends up

Re: [PHP-DEV] Call perl from PHP

2002-06-26 Thread Roman Neuhauser
To: [EMAIL PROTECTED] From: Chhai Thach [EMAIL PROTECTED] Date: Tue, 25 Jun 2002 11:03:09 +0930 Subject: [PHP-DEV] Call perl from PHP Does anyone know how to call a perl script from a php file and get the returned data back to the PHP file? I have tried using virtual() but this doesn't

[PHP-DEV] searching across all open sessions

2002-06-26 Thread Dave
Is there any way (built in function or otherwise) to search for a value across all open sessions? Here's the problem: A user logs in, a new session is created and their user_id is saved as a session variable. 10 minutes later the same user logs in through a new second browser window, and

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Stefan Roehrich
On 2002-06-26 20:19:34, Yasuo Ohgaki wrote: I'm -1 for features that silently fails. User can check ini_set return value if it is successful or not. So I'm 0 for ini_set(zlib.output_compresion,Off); I don't understand your first two sentences, what do you mean with silently fails? The

Re: [PHP-DEV] Call perl from PHP

2002-06-26 Thread Scott Carr
What wrong with: exec('perl {script name}', $array); ? -- Scott Carr OpenOffice.org Documentation Maintainer http://documentation.openoffice.org/ Quoting Roman Neuhauser [EMAIL PROTECTED]: To: [EMAIL PROTECTED] From: Chhai Thach [EMAIL PROTECTED] Date: Tue, 25 Jun 2002 11:03:09 +0930

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Marcus Börger
At 18:37 26.06.2002, Stefan Roehrich wrote: On 2002-06-26 20:19:34, Yasuo Ohgaki wrote: I'm -1 for features that silently fails. User can check ini_set return value if it is successful or not. So I'm 0 for ini_set(zlib.output_compresion,Off); I don't understand your first two sentences,

[PHP-DEV] CVS Account Request: xqi

2002-06-26 Thread Xin Qi
I am a native Chinese in United States and I'd like to make contibution to cvs:phpdoc-zh -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] patch for ext/session

2002-06-26 Thread Jani Taskinen
The attached patch fixes the problems when you build session extension as shared and MM. (--enable-session=shared --with-mm) Also adds a list of registered save handlers to the phpinfo() output. Please test/review. It works fine here, as shared and as

Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-26 Thread Brad LaFountain
- will never work for sub-classes so don't even ask! Andi, This doesn't need to be an issue. The way that I use sub-classes is I ALWAYS include_once(subclass.php); at the top of each superclass file. I know everyone doesn't code the same way but maybe you can have that as a suggestion to

Re: [PHP-DEV] patch for ext/session

2002-06-26 Thread Jani Taskinen
On Wed, 26 Jun 2002, Brian France wrote: Does this fix the problem with configure? http://bugs.php.net/bug.php?id=17977 yes.. I take it if session is shared then mm is shared as well, right? It makes the mm module not to be an extension of itself.. which it really isn't, as

Re: [PHP-DEV] Re: [Zend Engine 2] RE: [PHP-DEV] REPOST: Class Autoloading [PATCH]

2002-06-26 Thread Andi Gutmans
Hey, What I meant was nested classes, my bad :) I meant it won't work for Foo::Bar::Barbara but only for class Foo. Andi At 11:56 AM 6/26/2002 -0700, Brad LaFountain wrote: - will never work for sub-classes so don't even ask! Andi, This doesn't need to be an issue. The way that I use

Re: [PHP-DEV] [Patch] LDAP Error reporting for 4.2.1

2002-06-26 Thread Kristofer T. Karas
On Wed, 2002-06-26 at 02:40, [EMAIL PROTECTED] wrote: On Wed, 26 Jun 2002, Stig Venaas wrote: Thanks, I'll review your patch more carefully before I apply it Stig, I just patched it... and made it even more conformant to the rest of the PHP extensions. I am currently testing. Super.

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Stefan Roehrich
On 2002-06-26 19:55:33, Marcus Börger wrote: A hosting company would use mod_gzip if compression is necessary for them Not necessarly. It does make sense to use transparent compression only for dynamically created pages, so that static pages can be cached. And if you are a user of a mid sized

Re: [PHP-DEV] [Patch] LDAP Error reporting for 4.2.1

2002-06-26 Thread derick
On 26 Jun 2002, Kristofer T. Karas wrote: On Wed, 2002-06-26 at 02:40, [EMAIL PROTECTED] wrote: On Wed, 26 Jun 2002, Stig Venaas wrote: Thanks, I'll review your patch more carefully before I apply it Stig, I just patched it... and made it even more conformant to the rest of the PHP

[PHP-DEV] Re: Bug #17984 Updated: comparison of float values does not alwayswork.

2002-06-26 Thread Derick Rethans
Hello, it's sad, but the best explanation I could find is @ M$: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q42980 the section Floating-Point Complications Derick On Wed, 26 Jun 2002 [EMAIL PROTECTED] wrote: You know what? I understand that's it's not a PHP specific bug. The

[PHP-DEV] widestring variable possible in php?

2002-06-26 Thread Derek Aschenbrenner
I am trying to assign a widestring to a variable in php? Is it possible to create a widestring variable? -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] patch for ext/session

2002-06-26 Thread Brian France
Great! Once the patch is checked in feel free to close the bug report or let me know and I will close it. Thanks! Brian At 9:59 PM +0300 6/26/02, Jani Taskinen wrote: On Wed, 26 Jun 2002, Brian France wrote: Does this fix the problem with configure? http://bugs.php.net/bug.php?id=17977

[PHP-DEV] Fwd: Floating point exception (8)

2002-06-26 Thread Devin Atencio
Dear PHP, I am not sure if this is the mailinglist I need to address but I recently installed Apache 1.3.26 (Unix) PHP/4.2.1 mod_perl/1.27 AuthMySQL/2.20 mod_ssl/2.8.9 OpenSSL/0.9.6a, running on FreeBSD 4.3-STABLE. I notice that in my error logs for Apache I see the following line every few

[PHP-DEV] PHP Extension Help

2002-06-26 Thread Joao Prado Maia
Hi, Before starting up on this email, please be aware that I'm a newbie in C programming and especially in PHP extension coding. I tried researching about my doubt (and even talked with Joey Smith) but couldn't really have a definite answer. My ultimate goal for my little PHP extension is to

Re: [PHP-DEV] PHP Extension Help

2002-06-26 Thread Alan Knowles
this is a good starting place http://www.php.net/manual/en/zend.php although it doesnt cover the class stuff that well (which can be done : ming, domxml, gtk, xmms - to name a few that do it ) - for a nice example have a look at the xmms extension http://cvs.php.net/cvs.php/pear/PECL/xmms

Re: [PHP-DEV] PHP Extension Help

2002-06-26 Thread fabwash
The new operator works fine for builtin functions. Look at the domxml extension (INIT_*) for some hints. Fab. - Original Message - From: Joao Prado Maia [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 26, 2002 8:10 PM Subject: [PHP-DEV] PHP Extension Help Hi, Before

Re: [PHP-DEV] PHP Extension Help

2002-06-26 Thread Joao Prado Maia
On Thu, 27 Jun 2002, Alan Knowles wrote: this is a good starting place http://www.php.net/manual/en/zend.php Yes, I looked on the manual before asking. There isn't a good introduction on how to do what I want to do in there, and thats why I asked around before sending the email here.

Re: [PHP-DEV] PHP Extension Help

2002-06-26 Thread Joao Prado Maia
Ack, sorry. I just found xmms's implementation of the class on the xmms.c file. Seems like it is exactly what I was looking for. Thanks for the pointers, I appreciate it. Cheers, Joao -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Switching zlib.output_compression, bug #16109

2002-06-26 Thread Yasuo Ohgaki
Stefan Roehrich wrote: On 2002-06-26 20:19:34, Yasuo Ohgaki wrote: I'm -1 for features that silently fails. User can check ini_set return value if it is successful or not. So I'm 0 for ini_set(zlib.output_compresion,Off); I don't understand your first two sentences, what do you mean with

Re: [PHP-DEV] widestring variable possible in php?

2002-06-26 Thread Brad LaFountain
By widestring do you mean a multi byte string? if yes take a look at the mbstring module. else don't know what you mean by widestring -brad --- Derek Aschenbrenner [EMAIL PROTECTED] wrote: I am trying to assign a widestring to a variable in php? Is it possible to create a widestring