[PHP-DEV] CVS Account Request: yliu

2002-12-23 Thread liuyong
Developing the PHP runtime -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: #21139 [Ctl]: zlib.output_compression + windows failure

2002-12-23 Thread Moriyoshi Koizumi
"Edin Kadribasic" <[EMAIL PROTECTED]> wrote: > > Isn't the solution as "simple" as changing the #ifdef to include > > COMPILE_DL_ZLIB in the checks, or is this another situation where the > > zlib extension should be compiled into the distribution itself? > > > > Is there a problem with doing that

Re: [PHP-DEV] Re: #21139 [Ctl]: zlib.output_compression + windows failure

2002-12-23 Thread Edin Kadribasic
> Isn't the solution as "simple" as changing the #ifdef to include > COMPILE_DL_ZLIB in the checks, or is this another situation where the > zlib extension should be compiled into the distribution itself? > > Is there a problem with doing that in the win32 build Edin? > (it seems that the unix buil

Re: [PHP-DEV] Proposed fix for bug #21149

2002-12-23 Thread Melvyn Sopacua
On Mon, 23 Dec 2002, Ilia A. wrote: IA>>> The current implementation of php_register_variable_ex() improperly handles IA>>> situations when the name of the variable passed via GET/POST/COOKIES contains IA>>> a '[' or it's urlencoded equivalent. The result is a small memory leak IA>>> (number of

[PHP-DEV] Proposed fix for bug #21149

2002-12-23 Thread Ilia A.
The current implementation of php_register_variable_ex() improperly handles situations when the name of the variable passed via GET/POST/COOKIES contains a '[' or it's urlencoded equivalent. The result is a small memory leak (number of chars between '[' and '=' +1) and invalid data inside the G

Re: [PHP-DEV] Interesting result

2002-12-23 Thread Michael Mauch
In php.dev Markus Fischer <[EMAIL PROTECTED]> wrote: > I was talking about telling the 'undefined behaviour' case; not > what happens with the values exactly. I don't see a drawback in > documenting an 'undefined behaviour'. It's good for people to > have a torough documentation which even warns t

[PHP-DEV] php_sockets.dll

2002-12-23 Thread Steven
any ever managed to get the socket at work under windows2000 ? any suggestions are welcome when i enable the extension on windows 2000 server is keeps loading the page -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Interesting result

2002-12-23 Thread Markus Fischer
I was talking about telling the 'undefined behaviour' case; not what happens with the values exactly. I don't see a drawback in documenting an 'undefined behaviour'. It's good for people to have a torough documentation which even warns them before they're doing silly things. Note that the majority

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

2002-12-23 Thread Andi Gutmans
At 08:50 AM 12/23/2002 +, Stefan Esser wrote: sesser Mon Dec 23 03:50:06 2002 EDT Modified files: /php4/ext/mime_magicmime_magic.c Log: fix compile error on IRIX Index: php4/ext/mime_magic/mime_magic.c diff -u php4/ext/mime_magic/mime_magic.c:1.19 php4/ext/mime_

[PHP-DEV] [PATCH] CLI and CGI defaults

2002-12-23 Thread Melvyn Sopacua
Hi, the current behavior of cli/cgi defaults, is not really intuitive, allthough correctly mentioned in the NEWS entry. Attached is a very simple patch, that will resolve that issue. Specifically: if you specify --enable-cli and don't specify --enable-cgi, then CLI will be installed and built.

Re: Fwd: Re: [PHP-DEV] ext_skel

2002-12-23 Thread Andi Gutmans
Actually I think we should keep it as simple as it is today. I'd just change what the function prints out :) Andi At 12:43 PM 12/23/2002 -0800, David Gillies wrote: OK, how about a much-expanded version for 4.3.1, say? I'm a big fan of self-documenting code (use the source, Luke). Perhaps a defa

Re: Fwd: Re: [PHP-DEV] ext_skel

2002-12-23 Thread David Gillies
OK, how about a much-expanded version for 4.3.1, say? I'm a big fan of self-documenting code (use the source, Luke). Perhaps a default function with all the bells and whistles (checking for references, grabbing a resource, etc, all documented up the wazoo). Best Wishes David Gillies San Jose Cost

Fwd: Re: [PHP-DEV] ext_skel

2002-12-23 Thread Andi Gutmans
To: David Gillies <[EMAIL PROTECTED]> From: Andi Gutmans <[EMAIL PROTECTED]> Subject: Re: [PHP-DEV] ext_skel Yeah but then it might make sense to print something like "Argument passed = ", no? Andi At 08:56 AM 12/23/2002 -0800, David Gillies wrote: Well, if nothing else, for the novice ex

Re: [PHP-DEV] Re: #21139 [Ctl]: zlib.output_compression + windows failure

2002-12-23 Thread Stefan Roehrich
On 2002-12-23 11:09:40, Wez Furlong wrote: > Isn't the solution as "simple" as changing the #ifdef to include > COMPILE_DL_ZLIB in the checks, or is this another situation where the > zlib extension should be compiled into the distribution itself? Probably the second one is the easier solution. W

Re: [PHP-DEV] Re: #21139 [Ctl]: zlib.output_compression + windows failure

2002-12-23 Thread Marcus Börger
I have taken a short look at the code and i think Morioshi is correct. zlib_ouput_compression doesn't seem work when zlib si compiled as a shared module. But i will not have time for this until after x-mas. marcus At 09:11 23.12.2002, Moriyoshi Koizumi wrote: As far as I've looked into this prob

[PHP-DEV] zlib + register_shutdown_function

2002-12-23 Thread Brian Moon
I just put a comment on the register_shutdown_function bug, but I am not sure if comments go to the list or not. Here was the comment: -- The following script will cause IE to stop loading the page when zlib.output_compression is used.

[PHP-DEV] Re: [PHP] calendar solution for workgroups ???

2002-12-23 Thread Brent Baisley
If you are looking for a complete solution (calendar, contact, to do, webmail, etc.), there is a nice open source project at: http://www.moregroupware.org/ I downloaded it and started playing with it about 2 weeks and like what I see. Totally overkill if you just want a Calendar. On Monday, Dec

[PHP-DEV] calendar solution for workgroups ???

2002-12-23 Thread Tariq Murtaza
Hi all, I am looking for a good calendar system for a group of people. (PHP /Mysql) any idea?? Help/Comments will be appreciated. Tariq Murtaza -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: #21139 [Ctl]: zlib.output_compression + windowsfailure

2002-12-23 Thread Wez Furlong
This sounds like the same kind of problems we've encountered with PCRE mbstring and openSSL extensions on windows and their use from other modules. Isn't the solution as "simple" as changing the #ifdef to include COMPILE_DL_ZLIB in the checks, or is this another situation where the zlib extension

Re: [PHP-DEV] Creating extensions problem

2002-12-23 Thread Pierre-Alain Joye
On Mon, 23 Dec 2002 15:44:10 +0530 [EMAIL PROTECTED] wrote: > > Hello Markus, > Thanx a lot, I am able to finally build my extension dll. > > Can u recommend some good site for detailed information on > php-extension dlls? Not specific to windows, even maybe only for unix ;), but usef

Re: [PHP-DEV] Creating extensions problem

2002-12-23 Thread NVohra
Hello Markus, Thanx a lot, I am able to finally build my extension dll. Can u recommend some good site for detailed information on php-extension dlls? Regards, Nischal Vohra

Re: [PHP-DEV] Creating extensions problem

2002-12-23 Thread Markus Fischer
Did you by chance forgot to add the #ifdef COMPILE_DL_YOUREXT ZEND_GET_MODULE(yourext) #endif code to your file or forgot to add the /D COMPILE_DL_YOUREXT define to your yourext.dsp file ? On Mon, Dec 23, 2002 at 01:54:02PM +0530, [EMAIL PROTECTED] wrote : > Hello, > I am using PH

[PHP-DEV] open word with mysql and php

2002-12-23 Thread Allan Kim Jensen
Hi, I have uploaded some files to my database and I want to retrieve the files again. No problem. The next step is to open word if the file is a word document and have the extension .doc and so on. I can create a new word document but I can't open word with the file I got in my database. My scri

[PHP-DEV] Creating extensions problem

2002-12-23 Thread NVohra
Hello, I am using PHP-4.1.2 on WinNT. I need to create php-extension dll of my own. I downloaded the source and build php4ts.dll and php4ts.lib, but when i try to create the php.exe, it fails giving error while linking. I also included the lib and include directories from http://www.php.net/ext

Re: [PHP-DEV] Re: #21139 [Ctl]: zlib.output_compression + windows failure

2002-12-23 Thread Moriyoshi Koizumi
As far as I've looked into this problem, absense of "Content-Encoding" field in the response headers, apparently a side effect of the patch of rev 1.138 for main/SAPI.c, results in un-inflated output on the clients. Because the patch was designed only to work with statically linked zlib module,