[PHP-DEV] ZendEngine2 segfault on startup

2002-09-12 Thread Lukas Schroeder
hi, i tried to run php4-head + ZE2 but both CLI and apache(1.3)-sapi segfault for me. the steps i did were: cvs co php4 cd php4 mv Zend ZE1 cvs co -d Zend ZendEngine2 ./cvsclean ./buildconf './configure' \ '--prefix=/usr/local/php4' \ '--with-apxs=/usr/local/apache/bin/apxs' \

[PHP-DEV] segfault on adding empty heredoc to string

2002-09-01 Thread Lukas Schroeder
hi, i can crash my php here by using these lines: ?php $a = ''; $a .= EOF EOF; ? can anyone second this? regards, -lukas #0 0x403218b5 in _zval_dtor (zvalue=0xbfffe214, __zend_filename=0x4038dc80 /home/azzit/src/cvs/php4/php4/Zend/zend_operators.c, __zend_lineno=1057)

[PHP-DEV] [rfc] apache_hooks update (yet incomplete)

2002-08-26 Thread Lukas Schroeder
hi, here's another shot of the current apache_hooks code. there are some issues with startup and cleanup currently. and the patch messes a bit with php's startup procedure. still missing is access to array_header (think headers_in, headers_out, headers_err) and table slot in request_rec, as is

Re: [PHP-DEV] Re: [rfc] apache_hooks update (yet incomplete)

2002-08-26 Thread Lukas Schroeder
On Mon, Aug 26, 2002 at 11:18:38AM -0700, Rasmus Lerdorf wrote: Well, after 4.3.0 is branched I guess the next release would be PHP 5 so it's not that far away. If only Stig would start with the branch :) Anyway, I'm more in favor of having this nice hook stuff in a seperate branch

Re: [PHP-DEV] Re: [rfc] apache_hooks update (yet incomplete)

2002-08-26 Thread Lukas Schroeder
On Mon, Aug 26, 2002 at 02:59:01PM -0400, George Schlossnagle wrote: I actually just made a 'new_apache_hooks' branch and am about to commit it all there argh. so, what now? i don't like having two branches for this. -- PHP Development Mailing List http://www.php.net/ To unsubscribe,

[PHP-DEV] [RFC] apache_hooks update

2002-08-22 Thread Lukas Schroeder
hi, attached is a first request for comment for an update to the apache_hooks code. a php-handler for uri translation looks like this ($request is of type ApacheRequest). ?php $request-uri('/s.html'); return DECLINED; ? a php-handler for uri-to-filename translation would look like

Re: [PHP-DEV] [RFC] apache_hooks update

2002-08-22 Thread Lukas Schroeder
On Thu, Aug 22, 2002 at 08:07:33AM -0700, Rasmus Lerdorf wrote: Does it work? hehe. yes it does. besides the fact, that a lot of functionality is still missing, the only issue currently is an incomplete cleanup: ./Zend/zend_execute.c(1704) : Freeing 0x0828FFCC (12 bytes), script=-

Re: [PHP-DEV] libxml bundling

2002-06-02 Thread Lukas Schroeder
On Sat, Jun 01, 2002 at 04:21:33PM -0400, Dan Kalowsky wrote: When I state that things shouldn't be enabled by default, it is not towards making it harder for beginners. I would much rather see PHP using something like: ./configure --basic or ./configure --standard or some variation

Re: [PHP-DEV] bundling libxml2 / bundling locations

2002-05-30 Thread Lukas Schroeder
On Wed, May 29, 2002 at 10:53:38AM -0700, brad lafountain wrote: It was mentioned before about bundling libxml2 with php with expat or instead of expat. Where do we stand with this? I emailed the developer asking permission to bundle it if we choose to do it (no response yet). for the

[PHP-DEV] status of apache_hooks?

2002-05-23 Thread Lukas Schroeder
hi! is there anyone actively working on the apache_hooks code? regards, -lukas -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] status of apache_hooks?

2002-05-23 Thread Lukas Schroeder
On Thu, May 23, 2002 at 07:53:27AM -0700, Rasmus Lerdorf wrote: is there anyone actively working on the apache_hooks code? Nobody showed any interest in it so I put it on the back burner for a while. ok, well i'm very interested, and willing to do the coding, too. months ago i submitted

Re: [PHP-DEV] domxml questions

2002-05-18 Thread Lukas Schroeder
On Sat, May 18, 2002 at 10:05:32AM -0400, Rob Richards wrote: I have been going through the latest domxml extension and have a few questions about it. Looking at the docs, it is indicated that set_content and get_content are depreciated. set_content - Create a new node with e.g.

[PHP-DEV] php 4.2.0 ./. really weird mozilla file upload problem featuring segfault

2002-04-22 Thread Lukas Schroeder
hi list, first, to narrow down the list of systems affected: it only happens with the one .jpg file and only if you try to upload the file in a special html-form and only with mozilla 0.9.9. i didnt test another mozilla; i did test with netscape 4.76 successfully. i was supposed to just add a

Re: [PHP-DEV] domxml nightmare and suggestion

2002-04-13 Thread Lukas Schroeder
On Sat, Apr 13, 2002 at 12:41:44PM +0200, Christian Stocker wrote: top issues... Personally I don't have much problems with this extension, but missing docu and the API as a moving target, is something which worries a lot of people. But one of the weakest things about domxml is IMHO that it

[PHP-DEV] [patch] domxml ./. fix for some memory leaks + cleanups

2002-04-04 Thread Lukas Schroeder
hi! this patch is against current cvs. it contains some trivial cleanups and fixes for several memory leaks, where memory that gets malloc()ed in libxml2 is not free()d. please apply... additionally, this patch changes get_attribute() to return FALSE instead of an empty string if the attribute

[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] [patch] domxml ./. trivial cleanup

2002-03-07 Thread Lukas Schroeder
hi! the patch below is against cvs as of several minutes ago... doing if (! found) *found = ...; i did not change it into if (found) either, b/c found is a non-optional parameter of internally used functions; it will not be NULL ever. regards, -lukas PS: is there currently a

[PHP-DEV] [patch] domxml ./. resubmitting fix for bug #14522

2002-03-07 Thread Lukas Schroeder
Bug #14522 Crash with using $node-unlink(); Bug #14522 was prematurely marked as closed; i submitted this patch, but the bug was marked as closed, before the patch really got a applied to CVS to fix it... regards, -lukas Index: php_domxml.c

Re: [PHP-DEV] [patch] one script to handle them all

2002-02-13 Thread Lukas Schroeder
On Wed, Feb 13, 2002 at 08:13:42AM +0100, Markus Fischer wrote: Patches should always be against latest CVS. here it is. against latest CVS. regards, -lukas Index: sapi/apache/mod_php4.c === RCS file:

[PHP-DEV] [patch] one script to handle them all

2002-02-12 Thread Lukas Schroeder
Hi, (resubmitting. i submitted this on Jan 12 before, but did not get any response.) this is a 'request_handler'-support patch for php. it applies to php-4.1.1. it only covers sapi/apache/... diffstat says mod_php4.c | 58 +- 1 files

[PHP-DEV] [patch] (sapi/apache) global,default request_handler

2002-01-11 Thread Lukas Schroeder
Hi all, this is a 'request_handler'-support patch for php. it applies to php-4.1.1 and it only covers sapi/apache/... with this patch applied you can use the following to register a request_handler php_value request_handler /www/foo.php every request going to a virtualhost / directory /

Re: [PHP-DEV] PHP and WebDAV

2001-07-25 Thread Lukas Schroeder
On Wed, Jul 25, 2001 at 05:53:43AM +0100, Christoph Steinmann wrote: Are there any concrete plans to integrate functions or classes to access external WebDAV ressources? WebDAV seems to be used more and more to upload data, in replacement of FTP. It would be cool to have some functions to