[PHP-DEV] CVS Account Request: flex

2002-10-02 Thread Lenar Lõhmus
Helping (active development) with ext/xslt extension (sablot backend). -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] xslt sablot backend

2002-05-11 Thread Lenar Lõhmus
ecause that retval isn't actually allocated when specified function doesn't exist. This patch is against 4.1.2 source. Thanks, Lenar --- sablot.c.old Sat May 11 12:10:49 2002 +++ sablot.c Sat May 11 12:58:18 2002 @@ -52,15 +52,15 @@ static int scheme_close(void *, SablotHandle, in

Re: [PHP-DEV] Re: PHP 5

2002-01-03 Thread Lenar Lõhmus
ing we do. So, in the vhost file for apache we want to set the > station call letters so that the letters are available to the code. > Maybe you should use SetEnv? Lenar -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

[PHP-DEV] Re: Bug #14658 Updated: The strtok() changes destroyed 4 years old applications!

2001-12-22 Thread Lenar Lõhmus
; separated values) files - for which it works perfektly! For CSV (not only > separated with commans - also with | and other symbols) it is required > that EMPTY fields will be reported as empty field!!! So the change you > made brokes my existing applications. > Or one can use split() Lena

[PHP-DEV] Re: Bug #14442 Updated: Segmentation fault when using xslt_process()

2001-12-12 Thread Lenar Lõhmus
Does Apache configure say: 'Using system expat'? If not, then install libexpat and reconfigure/compile apache. ext/xslt will not work correctly (segfaults) when Apache is compiled with its bundled expat-lite. Lenar [EMAIL PROTECTED] wrote: > ID: 14442 > User updated by:

[PHP-DEV] Re: Bug #13896 Updated: Segmentation fault with xslt extention

2001-12-03 Thread Lenar Lõhmus
Apache is compiled with expat-lite? Apache must be compiled against system libexpat. This kind of random segfaults with xslt indicate that apache is not compiled against system libexpat. Lenar [EMAIL PROTECTED] wrote: > ID: 13896 > Updated by: mfischer > Reported By: [EMAIL

[PHP-DEV] Bug #14266 Updated: serialize() doesn't work correcty

2001-11-28 Thread lenar
ID: 14266 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Scripting Engine problem Operating System: Debian Linux PHP Version: 4.2.0-dev New Comment: Ok, I tested a little bit more and found that when calling serialize() like serialize(&$x) it works. I

[PHP-DEV] Bug #14266 Updated: serialize() doesn't work correcty

2001-11-28 Thread lenar
ID: 14266 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Open Bug Type: Scripting Engine problem Operating System: Debian Linux PHP Version: 4.2.0-dev New Comment: I dont' agree. Circular refferences can happen with objects (using refferences). Somet

[PHP-DEV] Bug #14266 Updated: serialize() doesn't work correcty

2001-11-28 Thread lenar
ID: 14266 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Bogus Status: Open Bug Type: Scripting Engine problem Operating System: Debian Linux Old PHP Version: 4.1.0 PHP Version: 4.2.0-dev New Comment: Tested this with current cvs too. No better luck. Original and u

[PHP-DEV] Bug #14266: serialize() doesn't work correcty

2001-11-28 Thread lenar
From: [EMAIL PROTECTED] Operating system: Debian Linux PHP version: 4.1.0 PHP Bug Type: Scripting Engine problem Bug description: serialize() doesn't work correcty Consider following simple script. It's pretty obvious that serialize() does not work correctly (at least not a

Re: [PHP-DEV] Re: [PATCH] optional parameter to mysql_connect() to create truly new link

2001-11-21 Thread Lenar Lõhmus
Hi, I think no magic needed, optional parameter is good enough solution and gives the control to the hands of programmer. Just - there should be this flag for both: mysql_connect() and mysql_pconnect(). And I agree different usernames is not the right thing to suggest. Lenar Markus Fischer

[PHP-DEV] Re: [PATCH] optional parameter to mysql_connect() to create truly new link

2001-11-21 Thread Lenar Lõhmus
what a few people have complained about in the > past and there are existing Bu^H^HFeature Requests for this > behaviour (can't find them right now, too late). > #14137 Lenar -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL

[PHP-DEV] Bug #14137 Updated: Request additional flag for mysql_connect

2001-11-20 Thread lenar
ID: 14137 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Feature/Change Request Operating System: Debian/Linux PHP Version: 4.0CVS-2001-11-20 New Comment: I just want to add that creating another mysql account is not an valid option sometimes (with hosti

[PHP-DEV] Re: Bug #14118 Updated: Upload file more than 1 Mb doesn´t work

2001-11-20 Thread Lenar Lõhmus
Seems like a segfault to me ... Lenar [EMAIL PROTECTED] wrote: > ID: 14118 > User updated by: [EMAIL PROTECTED] > Reported By: [EMAIL PROTECTED] > Old Status: Feedback > Status: Open > Bug Type: Unknown/Other Function > Operating System: linux redhat 7.1 > PHP Version

[PHP-DEV] Bug #14137: Request additional flag for mysql_connect

2001-11-20 Thread lenar
From: [EMAIL PROTECTED] Operating system: Debian/Linux PHP version: 4.0CVS-2001-11-20 PHP Bug Type: MySQL related Bug description: Request additional flag for mysql_connect Manual states: If a second call is made to mysql_connect() with the same arguments, no new link w

[PHP-DEV] Bug #14136: Segfaults when forget xslt_free()

2001-11-20 Thread lenar
From: [EMAIL PROTECTED] Operating system: Debian/Linux PHP version: 4.0CVS-2001-11-20 PHP Bug Type: XSLT related Bug description: Segfaults when forget xslt_free() Tested this with php compiled as cgi. Everything works ok when after doing transformation you use xslt_free()

Re: [PHP-DEV] php module calling php code

2001-11-20 Thread Lenar Lõhmus
Colin McDonald wrote: > you where close: > > call_user_method() Zak was right. call_user_method() is deprecated. At least it sais so when NOTICEs are enabled. > > colin > > Zak Greant wrote: > >> IIAGR, you should be able to find an example in call_user_func

[PHP-DEV] Bug #14112 Updated: sprintf_array()

2001-11-19 Thread lenar
development i felt great need for function that could be named sprintf_array() That is ordinary sprintf() which would be able to take arguments from array: string sprintf_array(string format, array args) Wh

[PHP-DEV] Bug #14112 Updated: sprintf_array()

2001-11-19 Thread lenar
EMAIL PROTECTED] Hi, During development i felt great need for function that could be named sprintf_array() That is ordinary sprintf() which would be able to take arguments from array: string sprintf_array(string format, array args) What do you

[PHP-DEV] Bug #14112: sprintf_array()

2001-11-19 Thread lenar
would be able to take arguments from array: string sprintf_array(string format, array args) What do you think? Lenar -- Edit bug report at: http://bugs.php.net/?id=14112&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP-DEV] Re: XSLT Extension and paths

2001-11-17 Thread Lenar Lõhmus
; This snippet triggered some memories. With 4.1.0rc1-cgi (maybe under apache too, haven't tested) .. if you leave xslt_free() out then after script has finished and php is shutting down .. it segfaults. Lenar -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-m

[PHP-DEV] Re: Removing ext/sablot from 4.1?

2001-11-17 Thread Lenar Lõhmus
don't know when I'll get the chance > again (PHP 5?) > > -Sterling +2 for removing. At least some package maintainers will realize then that it's gone and start looking for replacement. Speaking about Debian here :) -- Lenar Lõhmus -- PHP Development Mailing

RE: [PHP-DEV] sytanx again

2001-11-16 Thread Lenar Lõhmus
stupid). Maybe something to remove (or add a warning) > in PHP 4.2.0 ? > > Derick Do not remove It's very useful in some cases. For example if you transform xsl/xml into html with embedded php to execute later. This is not utter crap. -- Lenar Lõhmus Vision Group -- PHP Developme

Re: [PHP-DEV] md5sum() patch

2001-11-15 Thread Lenar Lõhmus
Alessandro Astarita wrote: > Il 17:25, giovedì 15 novembre 2001, [EMAIL PROTECTED] ha scritto: >> Then this will do the same: >> $sum = `md5sum filename`; > > Do I have to depends on the external executable? ...in my opinion is not > the right way. > +1 to the

[PHP-DEV] Re: Bug #14042 Updated: Comment inside if statement causes parse error

2001-11-14 Thread Lenar Lõhmus
(which is better anyway). > It's a little bit strange you can jump into php mode with ''. IMO there should be some check in place - so that mixing different tags is not allowed this way. Lenar -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail:

Re: [PHP-DEV] Re: Bug #14036: Segfault when using multipart form data

2001-11-13 Thread Lenar Lõhmus
nge crashes (not always, let's say 1 out of 5 submits). I remember creating a very simple form to test it. And it worked 100%. So it seems the bug is dependent on how you handle that upload. Lenar > > -Rasmus > > On Tue, 13 Nov 2001, Hans Rakers wrote: > >> >>

[PHP-DEV] Re: [PATCH] sablotron scheme/sax handlers fix

2001-11-11 Thread Lenar Lõhmus
in advance, Lenar Lenar Lõhmus wrote: > Hi, > > Since nobody responded to my bugreport > about sax/scheme handlers not working in php > and since i needed them in a working state > I tried to understand the source and finally > generated a fix. > > So this patch makes

[PHP-DEV] [PATCH] sablotron scheme/sax handlers fix

2001-11-09 Thread Lenar Lõhmus
it's way to cvs. Lenar Lõhmus [EMAIL PROTECTED] Index: sablot.c === RCS file: /repository/php4/ext/xslt/sablot.c,v retrieving revision 1.25 diff -u -r1.25 sablot.c --- sablot.c 11 Oct 2001 23:33:54 - 1.25 +++ sablot.c 9 Nov

[PHP-DEV] Bug #13779 Updated: Tranformations do not work

2001-10-24 Thread lenar
ID: 13779 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Open Status: Closed Bug Type: XSLT related Operating System: Debian PHP Version: 4.1.0RC1 New Comment: Ignore. Messed the order of xsl and xml parameters. Previous Comments: --

[PHP-DEV] Bug #13779: Tranformations do not work

2001-10-21 Thread lenar
From: [EMAIL PROTECTED] Operating system: Debian PHP version: 4.1.0RC1 PHP Bug Type: XSLT related Bug description: Tranformations do not work Consider following script (xslt extension loaded): 'http://www.w3.org/1999/XSL/Transform";>

[PHP-DEV] Bug #13776 Updated: unable to compile XSLT as shared mod

2001-10-21 Thread lenar
ID: 13776 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: XSLT related Operating System: Debian PHP Version: 4.1.0RC1 New Comment: It seems it works when using additionaly --enable-shared=xslt Previous Comments: --

[PHP-DEV] Bug #13776: unable to compile XSLT as shared mod

2001-10-21 Thread lenar
From: [EMAIL PROTECTED] Operating system: Debian PHP version: 4.1.0RC1 PHP Bug Type: XSLT related Bug description: unable to compile XSLT as shared mod It seems that it isn't possible to compile php's xslt extension as shared module. This is bad because until it is possi

Re: [PHP-DEV] why does exit() print its argument?

2001-10-01 Thread Lenar
) Anyway this shows we use php for many differenet applications and purposes. That's not the reason to break BC. Lenar -- 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]

[PHP-DEV] Re: Apache 2.0.18 API does not match sapi_apache2.c code

2001-10-01 Thread Lenar
"Stig Venaas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > change might be for Apache 2 newer than 2.0.18, but 2.0.18 is the latest > I can find. I think we should support the latest Apache 2 that people are http://dev.apache.org/dist/ > able to download, w

[PHP-DEV] apache 2 environment

2001-08-22 Thread Lenar
Hi, Can anybody say something about progress made finding and fixing the unfortunate problem about apache 2 and php 407-dev, where server and environment variables are not accessible under php? With regards, Lenar Lohmus -- PHP Development Mailing List <http://www.php.net/> To unsub

[PHP-DEV] Re: Bug #12040: PHP dumps core when using a 3x derived class from a series of included files

2001-07-11 Thread lenar
in PHP 4.0.5 this resulted in engine error. Zeev said it is fixed in CVS, so right now I can't compile CVS to check it out, but maybe you can. And does this crash disappears when you use explicit class names instead parent:: (a::, b:: ... etc)? In my case it helped. Lenar <[EMAIL P

[PHP-DEV] Re: Bug #12032: PHP dumps core when using a 3x derived class from a series of included files

2001-07-11 Thread lenar
This might be realted to bug I reported about parent:: not working with 3 or more stage inheritance when include()s are used. It was said by Zeev that it is now fixed in CVS (for 4.0.7 i think, it din't reach 4.0.6 in time). Lenar <[EMAIL PROTECTED]> wrote in message [EMAIL PROTE

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid tags

2001-06-24 Thread lenar
Uh, ok. I give up. I just wasn't able earlier to find this paragraph from spec. Sorry if I disturbed you too much :) lenar. > Browsers should ignore things which they don't recognise: > (from http://www.w3.org/TR/1999/REC-html401-19991224/html40.txt, paragraph > 7.2) > &

Re: [PHP-DEV] Bug #11645 Updated: tempnam( ) does not use TMP environment variable

2001-06-24 Thread lenar
27;s usually TEMP (or TMP too with later wdozes) environment variable which specifies the location of directory for temporary files. TMPDIR is used on linux (maybe other *nix too, don't know - propably). This is suggestion for implementation/documentation change. lenar. > > From

Re: [PHP-DEV] Internal Working -- performance question

2001-06-24 Thread lenar
I don't know if MySQL supports HEAP tables under Win32 but otherwise I suggest using them for IPC in your PHP applications. We use it, and so far it has worked great for us (very good perfomance) using it combined with mysql_pconnect(). Lenar ""James Moore"" <

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid tags

2001-06-24 Thread lenar
"Derick Rethans" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Fri, 22 Jun 2001, lenar wrote: > > > Shouldn't there be an optional flag to nl2br to change the behavior of function to >what it used to be. >

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid tags

2001-06-24 Thread Lenar Lõhmus
ption to get the old behaviour when it's really neccessary. And ... you don't know a browser where dowsn't work? But there might be one ... one's own specific implementation where creator haven't thought up possibility that "" might be "" one day. Since it

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid tags

2001-06-22 Thread lenar
quot;, "", $text) to get the old functionality. lenar. <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > ID: 11611 > Updated by: sniper > Reported By: [EMAIL PROTECTED] > Old-Status: Closed > Status: Bogus > Bug T

[PHP-DEV] Bug #11609: documentation packaging format

2001-06-21 Thread lenar
From: [EMAIL PROTECTED] Operating system: debian PHP version: 4.0 Latest CVS (2001-06-21) PHP Bug Type: Documentation problem Bug description: documentation packaging format Another documentation packaging format would be nice. I'm talking about bz2 .. it makes sense: If yo

Re: [PHP-DEV] 4.0.6 Packaged!

2001-06-21 Thread lenar
> I'd like to see Zeev's fix to #11590 in 4.0.6 The same to #11589 .. in my project it's very important. Ok, it's just my project :( but when i need to hardode class names instead of just specifinig parent:: - it make's things more complex than they should be. lenar

[PHP-DEV] Bug #11589 Updated: classes and includes

2001-06-21 Thread lenar
ID: 11589 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating system: Debian/Linux PHP Version: 4.0.5 Description: classes and includes The bug exists in 4.0.6 RC3 Previous Comments: -

[PHP-DEV] Bug #11589: classes and includes

2001-06-20 Thread lenar
From: [EMAIL PROTECTED] Operating system: Debian/Linux PHP version: 4.0.5 PHP Bug Type: Scripting Engine problem Bug description: classes and includes First, my stripped down code that works: make("whatever"); ?> now, when i remove the definition of class 'a' to another fil

[PHP-DEV] Re: [PHP] parent and grandparent member method calls

2001-06-20 Thread Lenar Lõhmus
ss names. and thank you scott pointing me out (and getting me confused :) ). lenar. "scott [gts]"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > it looks like your solution *is* elegant... i tried > out your code, becuase i was astonished that such a

Re: [PHP-DEV] parent and grandparent functions

2001-06-20 Thread Lenar Lõhmus
rarchy).. I hope you understood, since enhlish is not my primary language. If you need me to elaborate a bit then ask. Lenar ""Lenar Lõhmus"" <[EMAIL PROTECTED]> wrote in message 9gpn2a$oc6$[EMAIL PROTECTED]">news:9gpn2a$oc6$[EMAIL PROTECTED]... > Hello, > >

[PHP-DEV] parent and grandparent functions

2001-06-20 Thread Lenar Lõhmus
For example delphi's 'inherited' works relative to the class it's used in and it is way more useful than php's parent::. is there any elegant solution(s) to my problem? Lenar Lõhmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [E