[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 http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] xslt sablot backend

2002-05-11 Thread Lenar Lõhmus
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, int); /* Sax handler

Re: [PHP-DEV] Re: PHP 5

2002-01-03 Thread Lenar Lõhmus
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 commands, e-mail: [EMAIL PROTECTED] To contact

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

2001-12-22 Thread Lenar Lõhmus
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() Lenar For parsing tokens as explained I understand the change - because there you wont need empty tokens! But for real

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

2001-12-12 Thread Lenar Lõhmus
postitatud ja meilitud 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

[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 PROTECTED] Status

[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

[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

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

[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

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

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() -- Lenar Lõhmus -- PHP

[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

[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

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

2001-11-19 Thread lenar
] 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 think? Lenar

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

2001-11-19 Thread lenar
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 think? Lenar

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

2001-11-17 Thread Lenar Lõhmus
. 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 List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

[PHP-DEV] Re: XSLT Extension and paths

2001-11-17 Thread Lenar Lõhmus
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-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

RE: [PHP-DEV] ?php= ? sytanx again

2001-11-16 Thread Lenar Lõhmus
to remove (or add a warning) in PHP 4.2.0 ? Derick Do not remove script language=php/script 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 Development Mailing List

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 function -- Lenar Lõhmus Vision Group

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

2001-11-14 Thread Lenar Lõhmus
a little bit strange you can jump into php mode with '?php' and jump out of that 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: [EMAIL PROTECTED

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

2001-11-13 Thread Lenar Lõhmus
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: As i reported in my bug report, i can reproduce this problem with 4.0.6

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

2001-11-11 Thread Lenar Lõhmus
, 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 ext/xslt working when sablotron and scheme/sax

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

[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 #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): ?php $xslt = xslt_create(); $args = array( /_xsl =

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

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

2001-10-01 Thread Lenar
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] 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 unsubscribe, e

[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 PROTECTED]"

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

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

2001-06-24 Thread Lenar Lhmus
/ dowsn't work? But there might be one ... one's own specific implementation where creator haven't thought up possibility that br might be br / one day. Since it is not neccessary for HTML to recognize / in the end of single tag then we can't really blame him. lenar. Matt -- PHP Development

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br 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. Just there's no point in br / like tags when

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 [EMAIL PROTECTED] wrote in message

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

2001-06-24 Thread lenar
le 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 php4/main/php_open_temporary_file.c: /* {{{ php_open_temporary_file * * Unlike

Re: [PHP-DEV] Bug #11611 Updated: nl2br() outputting invalid br 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) Note. As of the 24

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

2001-06-22 Thread lenar
quot;, "br", $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 Type: Strings related Operating system:

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

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. I just tested

[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

[PHP-DEV] parent and grandparent functions

2001-06-20 Thread Lenar Lõhmus
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP-DEV] parent and grandparent functions

2001-06-20 Thread Lenar Lõhmus
. 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, Sorry to write in dev, but i consider this a weakness of php. Something needs to be changed. Ok, maybe

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

2001-06-20 Thread Lenar Lõhmus
it works correctly, i have to hardcode class 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

[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: ? class a { function make($params) { } } class b extends a { function