Re: [PHP-DEV] cgi+dso

2001-01-13 Thread Boian Bonev
hi, i'd appreciate this feature very much (perhaps many others also will)... in most of my setups (about 10 servers) i need to compile both versions and keeping apache module and command line php setup in sync is somewhat hard and sometimes problematic ;) b. I was wondering if there's

[PHP-DEV] module to interface vpopmail

2001-01-13 Thread Boian Bonev
hi, i am using vpopmail for a large site with many users signing in or changing quotas, etc. for those who are not familiar to vpopmail - it is free qmail addon to implement easy virtual domain management - more info on http://www.inter7.com/vpopmail/. the site is wholy php based. for more than

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/vpopmail .cvsignore CREDITS Makefile.in config.m4 php_vpopmail.c php_vpopmail.h

2001-01-17 Thread Boian Bonev
hi, i do not like this too but this are the names exported by vpopmail api. this can be changed very easy. i am currently waiting for reply from David about what the php api support, what not and how... b. - Original Message - From: "Andrei Zmievski" [EMAIL PROTECTED] To: "David Croft"

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/vpopmail .cvsignore CREDITS Makefile.in config.m4 php_vpopmail.c php_vpopmail.h

2001-01-17 Thread Boian Bonev
sorry for broken english. I just wanted to say that vpopmail's api uses function naming convention which is incomatible with php style. This is the reason to name php functions after vpopmail api, prefixing them with vpopmail_. We can fix this easy. b. - Original Message - From: "

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/vpopmail .cvsignore CREDITS Makefile.in config.m4 php_vpopmail.c php_vpopmail.h

2001-01-17 Thread Boian Bonev
hi, sure. can i ask you another style question? snips form a config.m4 file: --- AC_MSG_RESULT(found in $VPOPMAIL_LIB_DIR) --- --- AC_MSG_CHECKING(for vpopmail install directory) ... code follows... AC_MSG_RESULT($VPOPMAIL_DIR) --- i wonder which one is preferable to use. b. - Original

Re: [PHP-DEV] EXTENSIONS file refresh..

2001-01-24 Thread Boian Bonev
hi, Another thing: Would it be good idea to have the EXPERIMENTAL text in configure help for such options? This could be automated in the buildconf ie. it could check if the EXPERIMENTAL is in the extension's dir and adds the text before/after the option in the help display..? And maybe

Re: [PHP-DEV] PHP 4.0 Bug #8889: Memory is not being freed.

2001-01-29 Thread Boian Bonev
hi, i'd disagree on this - imagine you have a webserver with reasonable load and 99.9% of php page requests use max 10mb ram. you have 1% that use 100mb ram. then it not a good idea to upgrade to 1g ram just for these 0.1% since each httpd process will hold 100mb ram after certain time (the 0.1%

Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-06 Thread Boian Bonev
hi, indeed it is theoretically impossible to track this :) implement a recursive alrorithm for something e.g.: function foo($n) { // calc $n! if ($n=1) return $n; else return foo($n-1)*$n; } now tell me if it is infinite or finite? ;-) this is a verification and cannot

Re: [PHP-DEV] PHP 4.0 Bug #9136 Updated: simple script with infinite function calls causes seg fault

2001-02-07 Thread Boian Bonev
hi, indeed it is theoretically impossible to track this :) implement a recursive alrorithm for something e.g.: function foo($n) { // calc $n! if ($n=1) return $n; else return foo($n-1)*$n; } now tell me if it is infinite or finite? ;-) this is a

Re: [PHP-DEV] The library yes/lib does not exist

2001-02-07 Thread Boian Bonev
hi, i've seen the same really soon and could track it: Cool, I looked further down the specific config.m4 and it appears that the zlib check was copied and not modified correctly. Fix committed. 10x :)) it was annoying and hard to track because i have 10+ --with- configure

[PHP-DEV] ext/standard/exec.h

2001-02-07 Thread Boian Bonev
hi, can someone commit the followingchange: Index: ext/standard/exec.h===RCS file: /repository/php4/ext/standard/exec.h,vretrieving revision 1.6diff -u -r1.6 exec.h--- ext/standard/exec.h 2000/09/05 16:55:32 1.6+++

Re: [PHP-DEV] PHP 4.0 Bug #9177 Updated: crypt problems with openssl

2001-02-19 Thread Boian Bonev
Well, I think it's just the link order of libraries. ie. the openssl lib should be before libc..but is that even possible? Or just add another entry for libc after ssl? Might be possible to do some kludge with the link order, I would prefer that OpenSSL changed a bit though, I'll probably

Re: [PHP-DEV] anyone with m4 knowledge - [PHP-DEV] please patch for dbmaker

2001-02-21 Thread Boian Bonev
hi, this is not m4 but /bin/sh stuff... afaik [[ is bash specific boolean test. so the patch _seems_ to be correct... b. - Original Message - From: "Andr Langhorst" [EMAIL PROTECTED] To: "PHP Development" [EMAIL PROTECTED] Sent: Thursday, February 22, 2001 5:31 AM Subject: [PHP-DEV]

Re: [PHP-DEV] anyone with m4 knowledge - [PHP-DEV] please patch for dbmaker

2001-02-21 Thread Boian Bonev
forgot to say that in case of [[ the test word is not needed - [[ is a test itself: if [[ -x somefile ]]; . if test -x somefile; b. - Original Message - From: "Boian Bonev" [EMAIL PROTECTED] To: "Andr Langhorst" [EMAIL PROTECTED]; "PHP Developmen

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/vpopmail .cvsignore CREDITS Makefile.in config.m4 php_vpopmail.c php_vpopmail.h

2001-03-01 Thread Boian Bonev
hi, [i move this to php-dev where is the right place IMHO] indeed the library is used by me, you and perhapse two more people (two have asked how to get/make/use it). my code is not problematic to change - i am using different servers for test and production and i can change it with not more

Re: [PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] ctype function (re?)naming

2001-03-01 Thread Boian Bonev
Just +1 :) - Original Message - From: "Stanislav Malyshev" [EMAIL PROTECTED] To: "Ron Chmara" [EMAIL PROTECTED] Cc: "PHP Development" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 01, 2001 1:47 PM Subject: Re: [PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] ctype function (re?)naming

Re: [PHP-DEV] PHP 4.0 Bug #9528 Updated: /home/sas/src/php4/ext/standard/url_scanner_ex.re ... permission denied

2001-03-03 Thread Boian Bonev
Are you sure you're using the php4.0.4pl1 source tarball from www.php.net?? I just checked that file and it doesn't have any #line directives in it. [2001-03-02 14:04:44] [EMAIL PROTECTED] the following is the second line of the file [path-to-php]/ext/standard/url_scanner_ex.c : #line 1

Re: [PHP-DEV] PHP 4.0 Bug #9528 Updated: /home/sas/src/php4/ext/standard/url_scanner_ex.re ... permission denied

2001-03-03 Thread Boian Bonev
Yes, in CVS those directives can be found. But not in CVS snapshots or in releases. So this shouldn't be a problem if people are using those. these are put automaticaly by re2c. it is invoked with full path in make file, so it generates #line-s with full path. non-developers really do not

Re: [PHP-DEV] RE: PHP 4.0 Bug #9529 Updated: php4_module is garbled

2001-03-03 Thread Boian Bonev
did you rm httpd make or make clean all install? b. - Original Message - From: "Mike Gibbons" [EMAIL PROTECTED] To: "Bug Database" [EMAIL PROTECTED] Sent: Sunday, March 04, 2001 3:17 AM Subject: [PHP-DEV] RE: PHP 4.0 Bug #9529 Updated: php4_module is garbled ldd httpd

Re: [PHP-DEV] Rsync and CVS

2001-03-06 Thread Boian Bonev
hi, i'd suggest to make things simpler - just plain pre-generated html with the notes part. name it after TOPIC and include it in the proper place. the generator script may run as cron job. there is only one problem - to prevent rsync client from getting a semi-generated copy. this can be

Re: [PHP-DEV] popen() spans 100 processes

2001-03-11 Thread Boian Bonev
Encountered 100 spanned cmd.exe + php.exe using win32 CGI, this does not happen using apachemod, my task manager was open by accident, otherwise I would not have noticed this... sounds like the second php 'detects' CGI mode, reads script name from environment vars then executes the same

Re: [PHP-DEV] X-Powered-by

2001-03-14 Thread Boian Bonev
hi, header("Foo: bar\r\n"); Get rid of that CRLF and it should work. this is an idea. what about if header stripped all \n \r? i cant see a reasonable use of \n in a header line... b. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP-DEV] php sapi 4 radiusd

2001-03-18 Thread Boian Bonev
hi, today i made something crazy - even i didn't believe it will do but i made it through and i want to hear your opinion... i am getting pissed from writing c code in one of our client's radius servers and decided to ease the whole process, put it under control and make the auth/account logic

Fw: [PHP-DEV] feature request

2001-03-19 Thread Boian Bonev
oops, forgot the list. i think no lang extension is needed. here is my reason - you can very easy test for isset, what about !isset? then the condition will be or not and and all the thing becomes messy. b. - Original Message - From: "Boian Bonev" [EMAIL PROTECTED] To: &qu

Re: [PHP-DEV] Leaking references

2001-04-02 Thread Boian Bonev
hi, I won't be holding my breath for it. That's the basic property of reference-counting, so it's not easy to make it behave differently. Anyway, unless you have very-long-running very-memory-greedy scripts, these leaks shouldn't bother you - Zend memory manager cleans them up on every

Re: [PHP-DEV] efree/emalloc in sapi

2001-04-03 Thread Boian Bonev
hi, i know. the problem is i have used the thttpd sapi module as a sample and it is supposed to be stable. i have solved my problem by using plain malloc/free - my reason to share this experience is that there may be a leak or segfault in some of the sapi modules. i haven't found neighter bug

Re: [PHP-DEV] RE: ; arg seperator

2001-04-04 Thread Boian Bonev
hi, There was a discussion about things to break in 4.1. magic_quotes_gpc would definitely be my favourite. I'd like to see it set to off for good and removed from php.ini. I'd be completely against removing the concept of magic_quotes altogether. We can discuss changing the default,

Re: [PHP-DEV] efree/emalloc in sapi

2001-04-04 Thread Boian Bonev
Generally, the emalloc should be working all the way since start_memory_manager was called - which means, from engine startup. The "request cleanup" (freeing all non-persistent memory blocks) happens on shutdown_memory_manager, which is called from php_request_shutdown, after calling

Re: [PHP-DEV] RE: [PEAR-DEV] Re: [PHP-DEV] Re: [PEAR-DEV] --with-pear[=DIR] patch

2001-04-11 Thread Boian Bonev
Perhaps optionally disabled.. --without-cgi? I would go for optionally on, I really dont want to build both the apache module (p.e.) AND the CGi at the same time. For QA testing this is fine, but not for production servers. If you want to use the PEAR tools, you need the CGI version.

Re: [PHP-DEV] RE: [PEAR-DEV] Re: [PHP-DEV] Re: [PEAR-DEV] --with-pear[=DIR] patch

2001-04-11 Thread Boian Bonev
i'd also preffer to have both versions - on all of my production servers i do install both apache module and cgi version. the latter i use for cron jobs, background processing and whatsoever tasks that need to do something outside the web. so in my opinion both sapi module and cgi will be

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] RE: changes

2001-04-11 Thread Boian Bonev
hi, i am speaking for the main branch. if the community decides that adding a function declaration can break anything then just do not commit this into 4.0.5 :) as far as i have seen many major changes have been made to 4.0.5. anyway it will work both ways except that calling the function with

Re: [PHP-DEV] request

2001-04-22 Thread Boian Bonev
You could have two classes both defining an innocent method toString(), for example, and with your suggestion, inheriting from those classes would cause a hard error? Why would "first encountered" definition change? If anything that affected how classes were ordered changed, if the

Re: [PHP-DEV] RE: 4.0.5: Merge Request

2001-04-24 Thread Boian Bonev
hi, Maybe something like this 1. Any problems which result in seg faults/gpfs are show stoppers, code doesnt go out till its fixed, or feature is removed till we can fix it. this is not correct (in general :) - there are segfaults in experimental stuff that do not imply exploits, are no

Re: [PHP-DEV] Bug #10510 Updated: ini_set() as relates to max upload filesize setting

2001-04-26 Thread Boian Bonev
i forgot to say that maybe we shall add two more bugs from this one - - a feature request for not allowing nonsense settings like the mentioned in the list - i don't know if is it a good idea post file upload to generate a warning when limit is exceeded b. - Original Message - From:

Re: [PHP-DEV] Bug #10510 Updated: ini_set() as relates to max upload filesize setting

2001-04-26 Thread Boian Bonev
sure. i guess at least about egpcs handling, arg separator, magic quotes, perhapse some session options, register_globals, safe_mode. lets make a list - this can be easily fixed. :) b. - Original Message - From: Hartmut Holzgraefe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL

Re: [PHP-DEV] Re: Crypt salts not random.. (fwd)

2001-04-29 Thread Boian Bonev
hi, That only really works for forking webservers, does it not? Another alternative would be to use microseconds... Yeah we could use microseconds but are they available on all platforms? In any case, on non-forking servers we can use thread id. if it is a threading server then why not

Re: [PHP-DEV] 4.0.6

2001-05-07 Thread Boian Bonev
Note that there was no such problem with PHP 4.0.4pl1 and earlier. That's very odd, as PHP never considered \r alone to be a linefeed... it is not that odd because it may have treated it like whitespace - imagine a long line script. now it may treat it not as whitespace and hence the problem

Re: [PHP-DEV] mailparse extension

2001-05-07 Thread Boian Bonev
I would like to put my mailparse (As seen on zend.com weekly summary) extension into CVS; shall I just check it into php4/ext? i'd also like to see this one released in php. :) b. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Fw: [PHP-DEV] 4.0.6

2001-05-08 Thread Boian Bonev
- Original Message - From: Boian Bonev [EMAIL PROTECTED] To: Dave Jones [EMAIL PROTECTED] Sent: Tuesday, May 08, 2001 6:29 PM Subject: Re: [PHP-DEV] 4.0.6 hi, And also line number don't get incremented if there are no line ends, so all syntax errors are reported as being on line

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Boian Bonev
One thing I'd like to see is a utility which could check a source directory and warn about obviously deprecated / insecure / inefficient things. It'd make life easier for that hypothetical ISP admin with a large pile of code which has been haphazardly maintained for years. hey, guys, how do

Re: [PHP-DEV] Bug #9859 Updated: mail() doesn't send cc or bcc as in the manual instructions

2001-05-21 Thread Boian Bonev
hi, then maybe close the related bug 10136... although it would be better if win32 smtp code is made more consistent and compatible with the unix sendmail one b. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 22, 2001 4:33 AM Subject: [PHP-DEV]

Re: [PHP-DEV] Bug #9859 Updated: mail() doesn't send cc or bcc as in the manual instructions

2001-05-23 Thread Boian Bonev
then maybe close the related bug 10136... or better reopen both, since this is a problem. although it would be better if win32 smtp code is made more consistent and compatible with the unix sendmail one Making Cc and cc both work is a one-line fix. (Patch attached, but as I can not

Re: [PHP-DEV] Warning

2001-05-24 Thread Boian Bonev
At link I'm getting gcc: unrecognized option `-prefer-non-pic' My gcc version: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) It's not an error but is this option really necessary? i've seen in

Re: [PHP-DEV] Warning

2001-05-24 Thread Boian Bonev
At link I'm getting gcc: unrecognized option `-prefer-non-pic' My gcc version: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/specs gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) It's not an error but is this option really necessary? i've

Re: [PHP-DEV] Better shell scripting

2001-09-07 Thread Boian Bonev
i can see just one reason - most people use the same php binary both for cgi and shell scripting. if this change is to be introduced in php then at least three builds will be performed - for shell, cgi and web server module. btw what happened with the change to the build system to allow

[PHP-DEV] Fw: [PHP-CVS] cvs: php4 /ext/standard php_string.h string.c

2001-09-11 Thread Boian Bonev
no response, so i noticed that i forgot to cc: the dev list. b. - Original Message - From: Boian Bonev [EMAIL PROTECTED] To: Derick Rethans [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday, September 09, 2001 10:29 PM Subject: Re: [PHP-CVS] cvs: php4 /ext/standard php_string.h string.c

Re: [PHP-DEV] Bug id #11998 - source code patch - Dont Use Previous (fwd)

2001-09-21 Thread Boian Bonev
please check bug id 13385, i hope that this is my mistake or inappropriate build, but if i am not wrong, it is a serious thing... in short ? echo nl2br(asd\n\ndsa\r\rqwe\r\n\newq\n\r\r) ? hangs with latest cvs. b. - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: [EMAIL

Re: [PHP-DEV] Bug id #11998 - source code patch - Dont Use Previous (fwd)

2001-09-21 Thread Boian Bonev
, i'll post a patch b. - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: Boian Bonev [EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: Sascha Schumann [EMAIL PROTECTED] Sent: Friday, September 21, 2001 7:13 PM Subject: Re: [PHP-DEV] Bug id #11998 - source code patch - Dont Use Previous

Re: [PHP-DEV] Bug id #11998 - source code patch - Dont Use Previous (fwd)

2001-09-21 Thread Boian Bonev
Andi At 06:46 PM 9/21/2001 +0300, Boian Bonev wrote: please check bug id 13385, i hope that this is my mistake or inappropriate build, but if i am not wrong, it is a serious thing... in short ? echo nl2br(asd\n\ndsa\r\rqwe\r\n\newq\n\r\r) ? hangs with latest cvs. b

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity

2001-09-30 Thread Boian Bonev
why not = then. imo the parser will easily distinguish array definition from an expression b. - Original Message - From: Andi Gutmans [EMAIL PROTECTED] To: Zeev Suraski [EMAIL PROTECTED]; Stig Sæther Bakken [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Sunday,

Re: [PHP-DEV] Re: [Zend Engine 2] Re: [PHP-DEV] namespaces ambiguity

2001-10-01 Thread Boian Bonev
BB why not = then. imo the parser will easily distinguish array BB definition from an expression The last thing we need is symbol reuse. The parser can distinguish a lot of things, the problem is that the human developer would be confused. = has a clear meaning in PHP, adding other meaning

Re: Re[2]: [PHP-DEV] [NEW EXTENSTION]: templates

2001-12-05 Thread Boian Bonev
hi Daniel, when I look at /ext/ (PHP source) just to pick a random example: what's 'vpopmail' doing there (no personal offense to the author, really randomly picked)? I mean, vpopmail has it's own deamon and an interface written in PHP (ok, that one is ugly, it depends on global variables

Re: [PHP-DEV] New Build System Committed to HEAD

2002-03-22 Thread Boian Bonev
For some reason ncurses ends up twice in internal_functions_cli.c; I can't figure out why though: phpext_overload_ptr, phpext_ncurses_ptr, phpext_ncurses_ptr, phpext_mysql_ptr, xmm. i couldn't verify this... (updated before 10-20 minutes) phpext_overload_ptr,