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_p

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 > variabl

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

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:

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

2001-09-21 Thread Boian Bonev
hings > being experimental in the source next time would guard against this kind > of problems > > Derick > > > > > 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 inappro

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 Subj

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 hangs with latest cvs. b. - Original Message - From: "Andi Gutmans" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 21, 2001 6:

[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-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

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 simultaneo

Re: [PHP-DEV] Better shell scripting

2001-09-07 Thread Boian Bonev
another php script, then what shall be the initial state for the included script? to Zeev: then why not remove 1/3 of the code ifdefed __cpluplus? b. - Original Message - From: "Brian Moon" <[EMAIL PROTECTED]> To: "Boian Bonev" <[EMAIL PROTECTED]>; <[EMA

Re: [PHP-DEV] Better shell scripting

2001-09-07 Thread Boian Bonev
+1 :)) and a #!/bin/php -p echo "some string here\n"; ?>some html here ;))) although this requires a patch in Zend/zend_language_scanner.l line 279 :))) for plain c, and i didn't look where for c++. b. - Original Message - From: "Stig Sæther Bakken" <[EMAIL PROTECTED]> To: <[EMAIL PRO

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 nec

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 ye

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 >

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-DE

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

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 li

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 To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

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] 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 wh

Re: [PHP-DEV] Bug #10528: I have been unable to find any documentation on the SAPI interface.

2001-04-29 Thread Boian Bonev
hi, i have already did the same thing for a radiusd server - it is not rocket science but the apache module is not the right starter point. i can send you code or put it in php's CVS (only if the community agree on this) i had one big problem with integrating php into some software - if i write

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: <[EMAI

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: "Ha

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] 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 t

Re: [PHP-DEV] always building cgi...

2001-04-13 Thread Boian Bonev
> > With some more minor restructuring, we can then let people build _all_ > > sapi modules in one go if they like. > Without careful consideration, I would not say that it would > require only minor restructuring. If we would implement that > change, it would have a direct effect up

[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 w

Re: [PHP-DEV] RE: changes

2001-04-11 Thread Boian Bonev
> > > a single compiler warning issue - in ext/standard/exec.h there must be a > > > declaration of php_Exec: > > > > > > int php_Exec(int type, char *cmd, pval *array, pval *return_value); > > > > People what do you think? does this need to be fixed? Im no compiler guru, > > Sascha do you know yo

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

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

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

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 def

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 nor

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

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]> T

[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 m

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 To unsubscribe, e-mail: [EMAIL PROTECTED]

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] 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

Re: [PHP-DEV] Rsync and CVS

2001-03-06 Thread Boian Bonev
hi, > I was thinking of /manual/usernotes/TOPIC.txt, where TOPIC is the subject in > question. The contents of those files would just be a serialize array, > exactly as would be returned by the DB. My local setup actually does that, > but loading those files requires a semi-backdoor into www.php

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] Re: [PHP-QA] Re: [PHP-DEV] RE: [PHP-QA] Re: [PHP-DEV] ctype function (re?)naming

2001-03-03 Thread Boian Bonev
hi, > I am for uniform names but not if it's at the price of adding a zillion of > aliases or at a price of making 50% of people's old scripts not work. I am > also very much against compile-time options because I'd expect a script > written in PHP and posted on some sites code exchange to work f

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
>>> Maybe this should be mentioned at http://bugs.php.net/anoncvs.php page? >>> (why would some non-developer get his PHP 4 from CVS anyway? :) >>there is at least one reason - to compile with a new feature that is not >>released still. it is not recommended but i know about people doing this...

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 reall

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] 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?)n

[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 tha

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]>; &qu

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] 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 p

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

2001-02-07 Thread Boian Bonev
hi,   can someone commit the following change:   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+++ ext

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

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

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

2001-02-06 Thread Boian Bonev
hi, i've seen the same really soon and could track it: checking for DOM support... yes checking for DOM in default path... found in /usr/local checking for libxml version... >= 2.2.7 - ac_add_library_path /usr/local/lib

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] Re: safe_mode redesign

2001-02-06 Thread Boian Bonev
hi, here is something i have posted some days ago: or better if you have untrusted users who shall have php access, give them cgi php and use apache's exec wrapper to setuid to user's uid and chroot to her home dir. if their count is not too big run their own web servers under their uids an

Re: [PHP-DEV] nested functions

2001-02-03 Thread Boian Bonev
hi, > Andrei Zmievski wrote: > > > i'm not sure about it, is this a usefull feature (although it > > > behaves very different to, say, PASCAL or gcc with nested > > > functions enabled where the inner function is 'local' to the > > > namespace of the outer one) or should the engine prevent > > >

Re: [PHP-DEV] security issue

2001-02-03 Thread Boian Bonev
hi, or better if you have untrusted users who shall have php access, give them cgi php and use apache's exec wrapper to setuid to user's uid and chroot to her home dir. if their count is not too big run their own web servers under their uids and again chrooted to their home dirs. this is the bes

Re: [PHP-DEV] PHP 4.0 Bug #9064 Updated: Functions inside functions cause errors if the outer function is called twice.

2001-02-03 Thread Boian Bonev
hi, > ID: 9064 > Updated by: hholzgra > Reported By: [EMAIL PROTECTED] > Old-Status: Open > Status: Closed > Bug Type: Scripting Engine problem > Assigned To: > Comments: > > php has no "nested function" feature like you'll find in PASCAL > or in gcc if you enable the feature > > what happens he

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] Proposal for updating the PDF-extension

2001-01-24 Thread Boian Bonev
hi, > >There are probably other points which need to be discussed like > >what a function should return if it fails. Many php functions return > >false but pdflib's api requires to return -1. > > Again, we should be consistant within PHP the language. > ie. if function fails -> RETURN_FALSE. > >

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..?

Re: [PHP-DEV] vchkpw (vpopmail) & qmail

2001-01-23 Thread Boian Bonev
hi, yes, there is something in progress... it is in development state and there is no documentation still the php management of vpopmail is not easy but it may exist in one or another way. please check the README in ext/vpopmail get it from php's latest CVS b. - Original Message - From

[PHP-DEV] style question

2001-01-18 Thread Boian Bonev
hi, in the vpopmail module there are two possible implementations of the domain functions. one is to call library function, another to exec external binary. both are needed in different cases - when php is run as root we may call library, when php is run as someuser, we need a suid operation an

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] 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: &

[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] TSRM and Zend directories disappeared from cvs

2001-01-15 Thread Boian Bonev
sorry - too stupid that early in the morning... :((( shame on me i've done it before, then i've made somthing and... b. - Original Message - -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

[PHP-DEV] TSRM and Zend directories disappeared from cvs

2001-01-15 Thread Boian Bonev
hi,   do someone know what is happening?   b.  

Re: [PHP-DEV] Hanging process

2001-01-15 Thread Boian Bonev
hi, there are several things i can think of - in the order of probability to happen: - you use built in mysql client lib and your ext uses something linked to the /usr/local/mysql/lib/libmysqlclient.so - your child execs something and waits for pid, output, etc - there is some mess with memory o

[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

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 curren

Re: [PHP-DEV] fopen() changes, please review this patch

2001-01-12 Thread Boian Bonev
hi, only one thing - insted of two empty lines it sounds (at least to me) that a false value or a single empty line will be ok. there cannot be empty line in header. i haven't time to look at the patch, sorry. b. - Original Message - From: "Stig Venaas" <[EMAIL PROTECTED]> To: <[EMAIL

[PHP-DEV] Re: PHP 4.0 Bug #8242 Updated: the date('B') gives bogus output when system date is Thu Dec 14 01:56:02 EET 20

2001-01-10 Thread Boian Bonev
hi, i see you take care about timezones with offset bigger than one day... is it possible? thank you :)) b. - Original Message - From: "Bug Database" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 10, 2001 8:49 AM Subject: PHP 4.0 Bug #8242 Updated: the date('B')

Re: [PHP-DEV] PHP 4.0 Bug #8622: Using "0" as a key in accociative arrays crashes reset() , next(), etc.

2001-01-09 Thread Boian Bonev
hi, the 0 evals to false and stops your for loop, not reset... try the following loop line instead: while (list($key,$dummy)=each($groupid)) { b. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 10, 2001 2:05 AM Subject: [PHP-DEV] PHP 4.0