[PHP-DEV] Current HEAD segfaults with Horde/CHORA

2003-02-11 Thread Sebastian Bergmann
wopr-mobile:/usr/local/apache2/bin # gdb httpd GNU gdb 5.3 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditio

[PHP-DEV] CVS Account Request: firefox

2003-02-11 Thread wang hao
Translating the documentation in to chinese -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Current HEAD segfaults with Horde/CHORA

2003-02-11 Thread Derick Rethans
Hey, Looks like a recursive thing here so I wonder if it's really a bug in PHP, but perhaps an assumption in Horde that doesn't work with ZE2? Derick On Tue, 11 Feb 2003, Sebastian Bergmann wrote: > wopr-mobile:/usr/local/apache2/bin # gdb httpd > GNU gdb 5.3 > Copyright 2002 Free Softwar

Re: [PHP-DEV] Current HEAD segfaults with Horde/CHORA

2003-02-11 Thread Jan Schneider
Zitat von Derick Rethans <[EMAIL PROTECTED]>: > Looks like a recursive thing here so I wonder if it's really a bug > in PHP, but perhaps an assumption in Horde that doesn't work with ZE2? Correct, Horde doesn't work with ZE2 out of the box. Jan. -- http://www.horde.org - The Horde Project h

Re: [PHP-DEV] session_set_save_handler and session_start

2003-02-11 Thread michel
On Tue, 11 Feb 2003, Stephen Thorne wrote: > > no, but my example is get from session/tests/003.phpt > > So if the original example/test is wrong... > I'm curious, did passing the objects by reference work? Nope. http://www.ziobudda.net:81/test/session4.php source: http://www.ziobudda.net:81/t

Re: [PHP-DEV] Current HEAD segfaults with Horde/CHORA

2003-02-11 Thread Sebastian Bergmann
Derick Rethans wrote: > so I wonder if it's really a bug in PHP, but perhaps an assumption > in Horde that doesn't work with ZE2? Be that as it may, but it still shouldn't segfault, no? ;-) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did

Re: [PHP-DEV] session security

2003-02-11 Thread Keyser Soze
There's also something I'm using in my session scripts. I compare the browser referer with all the possible pages it must have come from in each script, this way the user MUST start from the login page, and not can simply type the url with the session id. I only tested it with Internet Explorer >5

Re: [PHP-DEV] Current HEAD segfaults with Horde/CHORA

2003-02-11 Thread Derick Rethans
On Tue, 11 Feb 2003, Sebastian Bergmann wrote: > Derick Rethans wrote: > > so I wonder if it's really a bug in PHP, but perhaps an assumption > > in Horde that doesn't work with ZE2? > > Be that as it may, but it still shouldn't segfault, no? ;-) recursive function calls always segfault, just

Re: [PHP-DEV] ODBC Prepare

2003-02-11 Thread Adam Voigt
Apologies if this was on the wrong list, since the problem was what I thought was an un-implented feature of the library in PHP's source, I assumed I should ask the PHP developer's. I assumed it was un-implemented because I saw no reference to this ability on the manual page for ODBC or O

RE: [PHP-DEV] Register Shutdown Function for Apache

2003-02-11 Thread Joseph Tate
I think it's reached that stage. Something like HAVE_APXS that's defined when configure is called --with-apxs. That'd be great. Joseph > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Jani Taskinen > Sent: Monday, February 10, 2003 7:16 PM > To: Jo

[PHP-DEV] karma for pear/PECL/myphp

2003-02-11 Thread David Sklar
When I try to commit changes to pear/PECL/myphp, I get: Access denied: insufficient karma (sklar|pear/PECL/myphp) Contact [EMAIL PROTECTED] for access to pear/PECL/myphp cvs server: Pre-commit check failed cvs [server aborted]: correct above errors first! E-mails to [EMAIL PROTECTED] pr

Re: [PHP-DEV] session security

2003-02-11 Thread Hans Prins
Thx guys, I'll play around with it some more and see if I can secure it some more :) Hans Prins "Keyser Soze" <[EMAIL PROTECTED]> schreef in bericht 009201c2d1cd$ec7cd4e0$81aed2c8@keysersoze">news:009201c2d1cd$ec7cd4e0$81aed2c8@keysersoze... > There's also something I'm using in my session scrip

Re: [PHP-DEV] Register Shutdown Function for Apache

2003-02-11 Thread Brian Moon
Well, it is not just apxs is it? The same would be true if --with-apache was used. Brian Moon dealnews.com - Original Message - From: "Joseph Tate" <[EMAIL PROTECTED]> To: "Jani Taskinen" <[EMAIL PROTECTED]> Cc: "Php-Dev List" <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 9:04 AM

Re: [PHP-DEV] session_set_save_handler and session_start

2003-02-11 Thread michel
On Tue, 11 Feb 2003, [EMAIL PROTECTED] wrote: > On Tue, 11 Feb 2003, Stephen Thorne wrote: > > > no, but my example is get from session/tests/003.phpt > > > So if the original example/test is wrong... > > > I'm curious, did passing the objects by reference work? > > Nope. Hi list. I think that

RE: [PHP-DEV] Register Shutdown Function for Apache

2003-02-11 Thread Joseph Tate
You're right. I suppose both --with-apache and --with-apxs will have to define HAVE_APACHE or something similar. > -Original Message- > From: Brian Moon [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 11, 2003 11:14 AM > To: Joseph Tate; Jani Taskinen > Cc: Php-Dev List > Subject: Re

Re: [PHP-DEV] Register Shutdown Function for Apache

2003-02-11 Thread Keyser Soze
Hey guys, Just to announce that I put the patch.diff for strip_tags() in another server. Here is the new link: http://www.3dogs.hpg.ig.com.br/patch.diff If there's still any interest in applying it, feel free whoever is responsible for! Regards, Fabricio Olivetti de Franca -- PHP Developmen

[PHP-DEV] strip_tags patch

2003-02-11 Thread Keyser Soze
Oops. wrong topic there :) __ Hey guys, Just to announce that I put the patch.diff for strip_tags() in another server. Here is the new link: http://www.3dogs.hpg.ig.com.br/patch.diff If there's still any interest in applying it, feel free whoever is r

Re: [PHP-DEV] session_set_save_handler and session_start

2003-02-11 Thread michel
On Tue, 11 Feb 2003, [EMAIL PROTECTED] wrote: > http://www.ziobudda.net/test/session4-2.php (PHP4) > http://www.ziobudda.net:81/test/session4-2.php (PHP5) ops :%s/php/phps/g bye -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] Apache 2.0 Handler module

2003-02-11 Thread Ian Holsman
On Mon, 10 Feb 2003 22:37:44 -0800, Justin Erenkrantz wrote: > FWIW, I think I had a minor bug in how it called ap_sub_req_lookup_uri in > my copy of php_functions.c. I posted an updated copy of that file on my > apache.org space. And, I tested virtual('test.html') and it does work > fine. > >

Re: [PHP-DEV] [PATCH] Apache 2.0 Handler module

2003-02-11 Thread Rasmus Lerdorf
You guys have CVS access, and thus you make the call on what gets accepted or not. There is no higher power here, you guys know the Apache2 stuff better than most. You only start getting pushback if you start changing existing code that might break stuff. -Rasmus On Tue, 11 Feb 2003, Ian Hol

Re: [PHP-DEV] session security

2003-02-11 Thread Sascha Schumann
On Tue, 11 Feb 2003, Hans Prins wrote: > Thx guys, > > I'll play around with it some more and see if I can secure it some more :) Keep in mind that many proxies remove the referrer information. - Sascha -- PHP Development Mailing List To unsubscribe, visit: ht

Re: [PHP-DEV] Current HEAD segfaults with Horde/CHORA

2003-02-11 Thread David Brown
On Tue, Feb 11, 2003 at 01:18:20PM +0100, Derick Rethans wrote: | On Tue, 11 Feb 2003, Sebastian Bergmann wrote: | | > Derick Rethans wrote: | > Be that as it may, but it still shouldn't segfault, no? ;-) | | recursive function calls always segfault, just like: | | | | so it's 'expected beha

[PHP-DEV] CVS Account Request: jmacklin

2003-02-11 Thread John T. Macklin
PHP Development Contributions -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] include() and sessions

2003-02-11 Thread Lindsey Simon
I have a situation involving my session and an include(). I'm trying to include() a page using the full path. My session is registered and I can verify all is well with it. I want to retain the session from within the page I'm including. So: I'm pasting my code here (please ignore the variable

[PHP-DEV] repost: return_value getting corrupted in extension

2003-02-11 Thread Eric Lambart
I originally posted this about 20 hours ago, and it has still not appeared on the newsgroup. I assume something went wrong, and apologize if it appears twice. In my original message, I neglected to mention that I am compiling code this with PHP 4.2.3, though I have had similar problems with an ea

[PHP-DEV] CVS Account Request: dcowgill

2003-02-11 Thread Daniel Cowgill
Maintain apc, apd and optimizer in PECL -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] include() and sessions

2003-02-11 Thread Lindsey Simon
Hey Chris, sorry - I only included it on this list because of the server timeout thing. When I pass the session id and name my server hangs on the include. I thought it might be pertinent. > Also, as a guess to your problem, when you include a resource by URL, you are > going to receive the same

Re: [PHP-DEV] include() and sessions

2003-02-11 Thread George Schlossnagle
Interesting, I get the same hang when I do this on OSX with head php 'foo.php?a=b' Foo is any php script (including an empty file). This returns no such file foo.php?a=b on linux. Will open a bug. George On Tuesday, February 11, 2003, at 05:31 PM, Lindsey Simon wrote: Hey Chris, sorry - I

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

2003-02-11 Thread Sascha Schumann
Markus, here is a patch against the current CVS which - trims +100 lines of code from spprintf.c - introduces an overflow detection in STR_TO_DEC - eliminates dead code (e.g. assert(foo); if (foo) {..}) - removes unused macros from the original code - simplifies code (

Re: [PHP-DEV] Current HEAD segfaults with Horde/CHORA

2003-02-11 Thread David Brown
On Tue, Feb 11, 2003 at 03:17:53PM -0500, Derick Rethans wrote: | > David Brown wrote: | > | > I assume the crash on infinite recursion is a stack-overflow type thing, | > but is there any reason that doesn't trigger the 'Allowed memory | > exhausted' and exit cleanly? | > | >Just curious... :) |

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

2003-02-11 Thread Marcus Börger
At 23:44 11.02.2003, Sascha Schumann wrote: Markus, here is a patch against the current CVS which - trims +100 lines of code from spprintf.c - introduces an overflow detection in STR_TO_DEC Why then this comment? Did you forgot to remove it. +/* XXX: Does not handle overflow. *

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

2003-02-11 Thread Sascha Schumann
> Why then this comment? Did you forgot to remove it. Yes. > Hey cool i just thought about doing that, too. You're really fast > Unfortunatley i haven't yet the time to try it out but it looks good. > Does it have any known problems? No, but then there are no real test cases which c

Re: [PHP-DEV] repost: return_value getting corrupted in extension

2003-02-11 Thread Wez Furlong
No offense, but this is really quite a useless problem report. You are not showing any of the zend API that you use to create the object, so how can we help you? Hints: make sure that your zvals are correctly initialized (there are some big differences between ALLOC_ZVAL and MAKE_STD_ZVAL). Other

[PHP-DEV] compile error on HEAD

2003-02-11 Thread Jan Schneider
/home/jan/software/php5/ext/standard/basic_functions.c: In function `php_simple_ini_parser_cb': /home/jan/software/php5/ext/standard/basic_functions.c:2829: `ZEND_INI_PARSER_POP_ENTRY' undeclared (first use in this function) /home/jan/software/php5/ext/standard/basic_functions.c:2829: (Each undecla

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

2003-02-11 Thread Marcus Börger
At 23:44 11.02.2003, Sascha Schumann wrote: Markus, here is a patch against the current CVS which If you commit that stuff, you should apply the changes to our snprintf.c, too. regards marcus -- PHP Development Mailing List To unsubscribe, visit: http://www.php.

[PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli

2003-02-11 Thread Georg Richter
Hi, The new mysql extension is now in the cvs-repository. Please not that you need MySQL Version 4.1 (both server and client library) and that this extension has experimental status. Configuration: --with-mysqli=/path-to-mysql-4.1 -without-mysql If you want to use both ext/mysql and ext/mysq

Re: [PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli

2003-02-11 Thread Brian Moon
Do you have some sample code or a function list? Brian Moon dealnews.com - Original Message - From: "Georg Richter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 6:08 PM Subject: [PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli | Hi, | |

Re: [PHP-DEV] Register Shutdown Function for Apache

2003-02-11 Thread Brian Moon
Jani, are you volunteering to add it? If so, please do so at your earliest convience. Brian Moon dealnews.com - Original Message - From: "Jani Taskinen" <[EMAIL PROTECTED]> To: "Joseph Tate" <[EMAIL PROTECTED]> Cc: "Php-Dev List" <[EMAIL PROTECTED]> Sent: Monday, February 10, 2003 6:16

Re: [PHP-DEV] Announcement: New MySQL-Extension for PHP 5: ext/mysqli

2003-02-11 Thread Sebastian Bergmann
Brian Moon wrote: > Do you have some sample code or a function list? "For some samples check the tests subdir. I'll add documentation within the next days." -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consi

Re: [PHP-DEV] compile error on HEAD

2003-02-11 Thread Derick Rethans
On Wed, 12 Feb 2003, Jan Schneider wrote: > /home/jan/software/php5/ext/standard/basic_functions.c: In function > `php_simple_ini_parser_cb': > /home/jan/software/php5/ext/standard/basic_functions.c:2829: > `ZEND_INI_PARSER_POP_ENTRY' undeclared (first use in this function) > /home/jan/software/ph