Re: [PHP-DEV] new Date extenstion

2003-02-16 Thread Vlad Krupin
Looks interesting. A lot of functions though. Would it make sense to at least remove all date_sub_* () functions in favor of using the date_add_* () counterparts with negative values? E.g. date_add_days(-10) does the same as date_sub_days(10) ? One of the easy ways to reduce usability of an ext

[PHP-DEV] --with-pgsql results in 'unexpected PLT reloc type 0x00'

2003-01-31 Thread Vlad Krupin
Strange build problem. Build php 4.3.0 with pgsql support on linux (mostly redhat 7.2) and got this: Installing shared extensions: /usr/local/lib/php/extensions/debug-non-zts-20020429/ Installing PEAR environment: /usr/local/lib/php/ /usr/src/web/php-4.3.0/sapi/cli/php: error while load

Re: [PHP-DEV] hebrew patch for jewish calendar

2002-10-28 Thread Vlad Krupin
it's just that your mailer is smart enough to decode uu-encoded attachments. Not everybody's is. Vlad Mike Hall wrote: I received the attachment... you sure it's his mailer playing up? ;-) Mike --- Original Message --- From:Derick Rethans <[EMAIL PR

Re: [PHP-DEV] ext/aspell

2002-10-07 Thread Vlad Krupin
nt Mailing List <http://www.php.net/> >> To unsubscribe, visit: http://www.php.net/unsub.php > > > Met vriendelijke groeten / With kind regards, > > Webmaster IDG.nl > Melvyn Sopacua > > <@Logan> I spent a minute looking at my own code by accident. > <@Logan> I was thinking "What the hell is this guy doing?" > > -- Vlad Krupin Software Engineer echospace.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] unexpected for-loop operation

2002-09-20 Thread Vlad Krupin
otice the difference in output. Is this the expected result? Vlad -- Vlad Krupin Software Engineer echospace.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Error with pspell

2002-06-03 Thread Vlad Krupin
this be overruled somehow in the extension >to trick pspell to think it's just I've instead of I\'ve? > > >On Mon, 03 Jun 2002 12:24:16 -0700 >Vlad Krupin <[EMAIL PROTECTED]> wrote: > >>I believe you would have to complain to Kevin Atkinson about that >&

Re: [PHP-DEV] Error with pspell

2002-06-03 Thread Vlad Krupin
pellcheck $var. >My problem is that if $var contain ' it will >report that it's wronly spelled like this: > >Possible spelling for I\'ve : I've Ive... > > >Regards >Magnus Määttä > > -- -- Vlad Krupin Software Engineer echospace.com -- P

Re: [PHP-DEV] PECL vs. CORE .... was msession

2002-05-24 Thread Vlad Krupin
#x27;ve spent lots of hours coding things I > feel are very important, but that does not equal being important to a > core distribution of a given project. > > Shane > > -- -- Vlad Krupin Software Engineer echospace.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] dbase extension - Contributing Code

2002-05-21 Thread Vlad Krupin
dbase_add_record() completed, before it's committed, I should get the read >support completed? At this point, it could be committed. > >Thanks, >Geoff >- Original Message - >From: "Vlad Krupin" <[EMAIL PROTECTED]> >To: "Geoff" <[EMAIL

Re: [PHP-DEV] dbase extension - Contributing Code

2002-05-21 Thread Vlad Krupin
please let me know. > >In the meantime, if you are interested in the dbase module, you can get it >from http://www.jukeware.com/projects.php?id=1 >After a bit more testing, I'll have the 4.2.1 migrated code there. > >Thanks, >Geoff Jukema > > > > > -- -- Vlad Krupin Software Engineer echospace.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] ext/pspell/config.m4

2002-04-02 Thread Vlad Krupin
I looked over the patch very briefly. I have a couple of comments/changes, but I'll take time to look more at it tomorrow. The problem is that now we have yet another aspell, and on aspell website it says that it's the latest and the greatest, and our website (www.php.net/pspell and www.php.ne

Re: [PHP-DEV] session.send_cache_headers as new ini entry

2002-03-20 Thread Vlad Krupin
After playing with the same problem for a while a few months back, I believe I pin-pointed the problem. When you download a file, IE places it into a temp folder before opening. If you tell it explicitly not to cache, it won't put it there, and, when it tries to open it, it'll crash. Different

Re: [PHP-DEV] FTP returns wrong file size (and a fix) - second try

2002-03-18 Thread Vlad Krupin
size. (And it's fine with me to merge it) > >regards, >Derick > >>Joseph >> >>>-Original Message- >>>From: Vlad Krupin [mailto:[EMAIL PROTECTED]] >>>Sent: Monday, March 18, 2002 4:15 PM >>>To: PHP Developers Mailing List >>>C

[PHP-DEV] FTP returns wrong file size (and a fix) - second try

2002-03-18 Thread Vlad Krupin
Hi, this is the second try to get feedback and to make a fix to ftp_size() function. After bringing that issue up a few days back, I got response from Derick only with some concerns, which I'll address here. Please, respond or I'll just apply the patch because it makes sense to me and see what

Re: [PHP-DEV] FTP returns wrong file size (and a fix)

2002-03-13 Thread Vlad Krupin
[EMAIL PROTECTED] wrote: >On Wed, 13 Mar 2002, Vlad Krupin wrote: > >>I guess, we could do that too. Should I come up with a new patch? >> > >I think it is better, decrease the WTF factor :) > I think so too. However, two things: 1. after reading the source for a f

[PHP-DEV] FTP returns wrong file size (and a fix)

2002-03-13 Thread Vlad Krupin
, FTPTYPE_IMAGE)) + return -1; if (!ftp_putcmd(ftp, "SIZE", path)) return -1; if (!ftp_getresp(ftp) || ftp->resp != 213) Vlad -- Vlad Krupin Software Engineer echospace.com -- PHP Development Mailing List <http://www.php.ne

Re: [PHP-DEV] cvs: ext/baby

2002-03-07 Thread Vlad Krupin
...wonder if it's better than sleepless nights hunting down php bugs... with the latter you could at least reboot... Vlad Derick Rethans wrote: >Hi, > >Congrats! and have fun with sleepless nights and changing diapers :) > >Derick > >On Wed, 6 Mar 2002, Rasmus Lerdorf wrote: > >>@@ -1,2 +1,6 @@

Re: [PHP-DEV] Re: Function to retrieve headers for message/rfc822 attachments

2002-03-04 Thread Vlad Krupin
Sorry, I'm just catching up with email backlog, so this email might be irrelevant by now, but just in case it isn't: imap_fetch_header() is probably not a very good name because we already have imap_fetchheader() and I believe they might be a bit too similar in names (I don't know what the pro

Re: [PHP-DEV] {NULL,NULL,NULL}

2002-03-04 Thread Vlad Krupin
Sorry, couldn't reply earlier - I was away on my honeymoon ;) Yes, the change is cool - I guess, I was too happy with the 'Cut' shortcut when Copy&Pasting code from aspell a couple of years ago :) Thanks for noticing Vlad Yasuo Ohgaki wrote: > [EMAIL PROTECTED] wrote: > >> ID:

Re: [PHP-DEV] Bug #15392 Updated: configration

2002-02-07 Thread Vlad Krupin
How about having a check: If a bug your are trying to make bogus has already been bogusified, trying to bogusify it again with a standard response (from the "quick fix" drop-down box) fails. You can still add comments if you actually type them in, just prevent more than one standard response pe

Re: [PHP-DEV] NEW PHP standalone compiler (was Re: [PHP-DEV] Here we try again)

2002-01-30 Thread Vlad Krupin
ted lately. I'm not trying to be hostile, I am just bringing to your attention the fact that you are frustrating a heck of a lot of people, and might not even be realizing it. So, I figured I'd save you some trouble and suggest that you move on from php to a language that better suits your needs and developers that are more friendly towards you. Take care... -- Vlad Krupin Software Engineer echospace.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Bug #14747: Return exitcodes to shell ($?)

2001-12-28 Thread Vlad Krupin
consensus... well, it wasn't reached. I guess, the overloaded solution - exit(string, int) - is the last thing that was proposed and not too many people objected to. My understanding is that that's what will happen. Or am I wrong again? -being short this time- Vlad Markus Fischer wrote: >

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-20 Thread Vlad Krupin
Zeev Suraski wrote: [snip] > What I *really* fail to understand is the gain we get by modifying > exit()'s behavior, as opposed to adding a new function or adding a new > $silent argument. Giving a WFF to several people? Consistency with > other languages that have nothing to do with the Web

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Vlad Krupin
says that there are scripts out there that rely on the current implementation of exit(), e.g. one of his own. Jamming two values into a storage space designed for a single value (a string) is bad :( Vlad Lars Torben Wilson wrote: >Vlad Krupin writes: > >>Lars Torben Wilson wrote:

Re: [PHP-DEV] exit() summary

2001-12-19 Thread Vlad Krupin
Derick Rethans wrote: [snip] >Ok, that was the problem, now the solution: > >1. We fix exit >2. We add an extra argument to exit, which silences the output >3. We make exit understand @, like @exit(); > all other issues aside, though an '@' sounds cool (after all, exit() *looks* like a function)

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Vlad Krupin
Lars Torben Wilson wrote: >Zeev Suraski writes: > >>At 15:15 19/12/2001, Lars Torben Wilson wrote: >> >>>Zeev Suraski writes: >>> exit_with_status(), silent_exit(), quiet_exit(), etc. etc. Something should fit :) >>>Yeah, you could do that. But then, why don't we have a >>>'c_compat

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-19 Thread Vlad Krupin
it's kinda lame to create a yet another function when exit() already exists. After a while you have die(), exit(), exit_with_status(), silent_exit(), loud_exit(), etc. Maybe not *that* bad, but still exit is just as simple as... well, an exit. Unfortunately, it seems like there will be tons of

Re: [PHP-DEV] Question: Should exit() print out the integer exit-status?

2001-12-18 Thread Vlad Krupin
Uh? You probably do not want to see the returned code printed anyway (unless you are debugging and are lazy to get it in any other way). Chances are that the codes returned by exit() won't make much sense to anyone but the one who develops the code, and it's not too difficult to do: echo 1; exi

Re: [PHP-DEV] CVS Account Request: aidanpeiser

2001-11-29 Thread Vlad Krupin
Hey, c'mon, the guy decided to have some fun - he listed verbatim most of the items that are listed as NOT requiring a CVS account. Do you seriously think he expected a favorable answer? Zak Greant wrote: >On November 29, 2001 10:38 am, aidan peiser wrote: > >>Learning PHP >>Coding in PHP >>Re

Re: [PHP-DEV] crash+backtrace... is it a known issue?

2001-11-28 Thread Vlad Krupin
001, Vlad Krupin wrote: > >>As expected, same crash, essentially the same backtrace. This time I >>also excluded MySQL from build. >>./configure --with-apxs=/usr/local/apache/bin/apxs --without-mysql >>--enable-debug >>Fresh today's checkout, apache 1.2.12. So,

Re: [PHP-DEV] crash+backtrace... is it a known issue?

2001-11-28 Thread Vlad Krupin
;_init>, fini=0x812294c <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbacc) at ../sysdeps/generic/libc-start.c:92 Vlad Krupin wrote: > I am pretty sure dbase has nothing to do with it. No dbase code gets > called before we crash. I do not think it wou

Re: [PHP-DEV] crash+backtrace... is it a known issue?

2001-11-28 Thread Vlad Krupin
Fischer wrote: >On Wed, Nov 28, 2001 at 02:40:55PM -0800, Vlad Krupin wrote : > >>I finally got around to fixing the dbase bug I have assigned, and... >>when I tried to compile today's snapshot with a very simple confug line: >>./configure --with-apxs=/usr/local/a

[PHP-DEV] crash+backtrace... is it a known issue?

2001-11-28 Thread Vlad Krupin
000ae60 <_dl_fini>, stack_end=0xbacc) at ../sysdeps/generic/libc-start.c:92 -- Vlad Krupin Software Engineer echospace.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact th

Re: [PHP-DEV] Patch: Nested comments

2001-11-28 Thread Vlad Krupin
Hartmut Holzgraefe wrote: > Markus Fischer wrote: > >> Although my vote doesn't count much here :-) I'm for it... >> >> ... but it would be a problem for 4.x I guess because this >> horribly breaks BC when/if there's a new 4.x release and >> people start using it. > > > should be

Re: [PHP-DEV] Re: [Zend Engine 2] Right/Left Shift Zero Fill operator

2001-09-10 Thread Vlad Krupin
FWIW: Signed shift seems to make little sense to me personally, since we are just dealing with a row of bits, and if you really want to do a quick multiplication/division, you might just as well use a * or / operator - it is not going to hurt that much:). *However*, it's been possible in diffe

Re: [PHP-DEV] Aspell 0.27.2 make problem

2001-08-21 Thread Vlad Krupin
Arghh! aspell 0.27 + php4 = *BAD* IDEA. Did you read the note on the page from php manual you mentioned in your email? I quote: *Note: * aspell works only with very old (up to .27.* or so) versions of aspell library. Neither this module, nor those versions of aspell library are suppo

Re: [PHP-DEV] Bug #12323 Updated: // comment tag does not work

2001-07-24 Thread Vlad Krupin
MacOS? Hmmm... I bet the problem is in that the end-lines are not recognized correctly. That is, the newline on a MAC ('\r') on the line that has a comment on it is not recognized as a valid newline, thus the closing tag "?>" will appear on the same line after the comment, as far as PHP is concern

Re: [PHP-DEV] Preliminary patch for allowing relative includes

2001-07-10 Thread Vlad Krupin
Andi, can you tell me what would happen if I also have another c.php in the same directory as a.php? which one of the two c.php's will get included? I am not complaining about the solution, I am just rying to see if it will break my code... thanks, Vlad Andi Gutmans wrote: >Hi guys, > >Att

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Vlad Krupin
4.1 thing. > >Brian Moon >-- >dealnews.com, Inc. >Makers of dealnews & dealmac >http://dealnews.com/ | http://dealmac.com/ > > >----- Original Message - >From: "Andi Gutmans" <[EMAIL PROTECTED]> >To:

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Vlad Krupin
Is it better to break things once or twice? Ok, not completely break, but now I have some code working with PHP4, later I will have some code that will work with PHP4.1, and finally I will re-write it to work with the latest-and-best PHP5. It is more like saying "Here is my script, you can run

Re: [PHP-DEV] Possible feature for current version of PHP or PHP 4.1/5.0.

2001-07-09 Thread Vlad Krupin
I would *love* to see that! Vlad Andi Gutmans wrote: > Hey, > > I think one thing that bothers PHP developers is when they do: > include "../foo.inc"; > and in foo.inc they do: > include "bar.inc"; > > That bar.inc is not searched for in foo.inc's current directory > automatically. As we prett

Re: [PHP-DEV] PSPELL with PHP

2001-07-05 Thread Vlad Krupin
Glad it worked for you (finally) Lindsey Simon wrote: > >So now I'm working on some scripts and functions for a spellchecker. The API is >perfect >for it, and I wonder why I don't see any finished versions out there.. Are you working >on one Vlad? I was really shocked by the lack of quality f

Re: [PHP-DEV] PSPELL with PHP

2001-07-03 Thread Vlad Krupin
Please, tell me what 1. your configure line is for php 2. configure lines for aspell and pspell 3. location of your dictionaries Another thing. You said: >I've created a file en-american.pwli in the >pkgdata directory which points absolutely >to a wordlist american-words.95. What's pkgdata? I h

Re: [PHP-DEV] PSPELL with PHP

2001-07-03 Thread Vlad Krupin
quite likely you missed something simple. Can you do the following? 1. go into pspell/example directory 2. do 'make example-c 3. do 'su nobody' 4. run './example-c en' (or whichever language you use) 5. try to spellcheck a word, e.g. 's helllo' And see what happens. If this does not succeed, you p

Re: [PHP-DEV] removing ereg functions

2001-05-16 Thread Vlad Krupin
Next thing you know is that we have --disable-(your favorite function here) for half the functions in php. That's a bad precedent, IMHO. Vlad Brian Moon wrote: > No, sorry, I think you misunderstood my question. I would just like to see > a --disable-ereg option for configure. I would never d

Re: [PHP-DEV] Bug #10850 imap_uid() does not produce an Unique ID Number from POP Servers

2001-05-15 Thread Vlad Krupin
UID's will be unique for IMAP, not POP servers. At least, as far as I remember, c-client will return a numer (a long, if I am not mistaken); that is the UID you get. 3afffb530001 is not gonna fit in there. I do not think you can get much more. If there is a capability in POP3 part of c-cli

Re: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-11 Thread Vlad Krupin
> I don't think that was the reason... because > > echo 'hello world'; // please no... > echo ''; > ?> > > will print me: > > // please no... > echo ''; > > > any further ideas? > Maxim Maletsky > > > >

Re: [PHP-DEV] WEIRD, WEIRD problem with upgrade to 4.0.5

2001-05-10 Thread Vlad Krupin
That's most likely because you have newlines that PHP does not understand (it should in 4.0.6). In particular, the newline just before the // comment that got printed out where it should not is probably mac-style '\r' instead of unix-style '\n' or dos-style '\r\n'. Fix those newlines and every

Re: [PHP-DEV] Zend API changes

2001-05-04 Thread Vlad Krupin
Isn't that how it already works? bug list doesn't seem too much of a burden for me:) I just fix a bug at a time at my own leisurly pace. Although it would be nice to know what's more critical to fix and what's not. Otherwise I pick my own random bugs... Vlad Billy Rose wrote: > It is obviou