RE: [PHP-DEV] CGI and CLI

2002-12-18 Thread Robin Thellend
env("GATEWAY_INTERFACE") != NULL) execv("/path/to/php-cgi", argv); or something. Call it a transition path until people get used to using php-cgi. I've been reading arguments on this very topic for weeks now. I would hate to see this delay the release of 4.3 any further. Re

[PHP-DEV] CVS Account Request: porcupine

2002-12-07 Thread Robin Chiu
I can't find the chinese document in this website. I want to know if there is somebody try to translate it to chinese. I think I can help him. I have a question "are traditional chinese and simply chinese different?". I prefer traditional chinese. -- PHP Development Mailing List

[PHP-DEV] hi memory usage with php-cli

2002-11-24 Thread Robin Ericsson
o the array, name, art.no, and when the product is done, I do $product = array(), and do the same thing over and over. Is there any way to configure php/zend to use less memory? I've tried #define ZEND_DISABLE_MEMORY_CACHE 1 which doesn't help. best regards Robin -- PHP Development Mai

[PHP-DEV] XML_Parser and php

2002-11-20 Thread Robin Ericsson
TER/MINNEN/VIKING COMPONENTS/ DATORKOMPONENTE/R/MINNEN/VIKING COMPONENTS/ DATORKOM/PONENTER/MINNEN/VIKING COMPONENTS/ -- Robin Ericsson <[EMAIL PROTECTED]> function cDataHandler($xp, $data) { switch($this->sCurrentNode) { ca

[PHP-DEV] extension 4.0.6 -> 4.2.2

2002-07-28 Thread Robin Ericsson
to _SERVER, or is there another "fancier" way of doing this? best regards Robin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] RFC: README.SUBMMITING_PATCH

2002-03-18 Thread Robin Ericsson
eparing a patch for the bug databases so it could handle > file attachments. i don't know what happened with it. > That would be me I guess, but I haven't got time to finish something yet, and I'll go on vacation next week, so don't expect anything that soon from me :( -

Re: [PHP-DEV] Re: Bug #15841 Updated: CRLF to separate mail headersis incorrect

2002-03-07 Thread Robin Ericsson
t qmail expects CRLF in message data, and you will get this error if you only provide LF. I ran into it when using qmail smtp, don't know if qmails sendmail clone behaves the same -- Robin Ericsson "The secret of flying is to throw yourself at the ground, and miss." -- Douglas Adams -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] new bug "status"

2002-03-06 Thread Robin Ericsson
find them lying there for several months, without anyone have time to find/look at them. -- Robin Ericsson "The secret of flying is to throw yourself at the ground, and miss." -- Douglas Adams -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] New Module

2002-03-05 Thread Robin Ericsson
nf[dbname] , $conf[dbuser] , $conf[dbpass] ); print_r($conf); // or var_dump($conf); ? > And the encryption method can be changed easily, just doing a new > libmycrypt.so. Like I said, libmycrypt.so is meant to have the funtionc > (char *)my_crypt(char *) and (char *)my_decrypt(char *

[PHP-DEV] patch upload in bugs

2002-03-02 Thread Robin Ericsson
people that actually want to help us, even though the are not posting patches to php-dev. So, shoot me, hate me, whatever :) -- Robin Buggus Exterminatus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] php cvs with zendengine2

2002-03-01 Thread Robin Ericsson
> > > Configure Command './configure' '--with-mysql=/usr/local' > > > '--enable-inline-optimization' '--enable-sysvsem' '--enable-sysvshm' > > > '--enable-shmop' '--enable-trans-sid' '--with-imap=/usr/local' > > > '--with-gettext=/usr/local' '--enable-dbase' '--enable-ctype' > > > '--with-gd=/us

[PHP-DEV] ext/srm

2002-02-25 Thread Robin Ericsson
I though I saw a mail regarding moving srm extension to php4/ext repository? However I might be blind, as I can't find it on cvs.php.net, or the snapshots. Regards - robin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] wierd ext problem, gcc3 the reason?

2002-02-18 Thread Robin Ericsson
blems? Using php 4.0.6 on behalf of other extensions. regards Robin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 4.2.0 / PHP 5.0.0-alpha

2002-02-04 Thread Robin Ericsson
t; and Q&A'd, and release PHP 4.2.0 and a PHP 5.0.0-alpha based on the > same /php4 branch, but with separate versions of the Zend Engine? > > Just a thought, A good thought that is :) I know I don't count that high, but +1 from me. Hopefully php5 will conta

[PHP-DEV] "no feedback"-status

2002-01-30 Thread Robin Ericsson
Would be nice to have "No feedback", on the bugs-statistics page. Can this be arranged? regards robin -- 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 a

Re: [PHP-DEV] bug reports

2002-01-24 Thread Robin Ericsson
On Thu, 2002-01-24 at 15:27, Jan Lehnardt wrote: > Hi, > On 24 Jan 2002 12:46:20 +0100 > Robin Ericsson <[EMAIL PROTECTED]> wrote: > > > I'm pretty sure some of the bugs reported for earlier versions of php > > are fixed in 4.1.1 > --- http://bugs.php.net

[PHP-DEV] bug reports

2002-01-24 Thread Robin Ericsson
Maybe add some text to bugs.php.net that they should try the latest version of php before they post a bug-report? I'm pretty sure some of the bugs reported for earlier versions of php are fixed in 4.1.1 Just my .2 cents.. regards robin -- PHP Development Mailing List <http://www

Re: [PHP-DEV] BEGIN_EXTERN_C()

2002-01-22 Thread Robin Ericsson
On Fri, 2002-01-18 at 14:34, Andi Gutmans wrote: > No good reason. If you need to add it in someplaces go ahead and send in a > patch. > There are probably more places this can be needed, but these where enought for me to get my extension to compile and run. > On 18 Jan 2002, Ro

[PHP-DEV] free_zval not working?

2002-01-22 Thread Robin Ericsson
me: string.c(2122) : Freeing 0x08257CEC (134 bytes), script=nn.php which is the new string allocated inside php_char_to_str(), howcome this memory isn't freed with FREE_ZVAL? regards robin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED

[PHP-DEV] calling other php-functions from extensions..

2002-01-21 Thread Robin Ericsson
Is call_user_function_ex() the right way if I want to call "standard" php functions from my extension, like "htmlentities", and such? regards Robin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: [PHP-DEV] Re: session problems with own session handler in php..

2002-01-18 Thread Robin Ericsson
i _SESSION, HTTP_SESSION_VARS is still NULL. However, if my read function returns "", then both HTTP_SESSION_VARS and _SESSION are set to array(0) {}, and both have the same contents after I set something in _SESSION. And this is exactly whats in the session_set_save_handler docs, so,

[PHP-DEV] BEGIN_EXTERN_C()

2002-01-18 Thread Robin Ericsson
Is there any reason that only parts of Zend is using BEGIN_EXTERN_C()? regards Robin -- 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:

Re: [PHP-DEV] Re: session problems with own session handler in php..

2002-01-17 Thread Robin Ericsson
t;session_var"] does no difference from using $_SESSION, as far as I can see.. Another question, if I set session vars during a script, should they be visible in phpinfo() then? -- Robin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTE

Re: [PHP-DEV] Re: session problems with own session handler in php..

2002-01-17 Thread Robin Ericsson
On Fri, 2002-01-18 at 03:00, Yasuo Ohgaki wrote: > Robin Ericsson wrote: > > This seems very similar to bug #14880. > > > > I use a session handler written in php, which I set with > > session_set_save_handler(). > > > > The problem is that my write fun

Re: [PHP-DEV] shmop errors

2002-01-17 Thread Robin Ericsson
he patch to CVS that should eliminate the warning > message. I wonder why Zend required strings with defined length to be null > terminated, sounds like a recipe for disaster, if the length is known it > should be used. But, whatever, please try the latest CVS. Yes, I sent this to the

[PHP-DEV] session problems with own session handler in php..

2002-01-17 Thread Robin Ericsson
setting. register_globals with this on, it works, with this off, it doesn't work.. Yohgaki, I've seen you involved in this, any news of it? Oh, btw, I'm using snapshop 2002011712 from snaps.php.net regards Robin -- PHP Development Mailing List <http://www.php.net/> T

Re: [PHP-DEV] shmop errors

2002-01-17 Thread Robin Ericsson
On Thu, 2002-01-17 at 08:33, Robin Ericsson wrote: > On Wed, 2002-01-16 at 21:19, Ilia A. wrote: > > I've tested your code on 4.1.1 release with the recent SHMOP patch that is > > already part of the latest CVS. The code worked fine and did not generate any > > warning

Re: [PHP-DEV] shmop errors

2002-01-16 Thread Robin Ericsson
ns. > That's funny, I've just downloaded php from cvs today (08.00 CET) and this script: generates the following error: Unknown(0) : Warning - String is not zero-terminated (0) (source: zend_execute_API.c:274) Using: './configure' \ '--enable-debug' \ '--enab

[PHP-DEV] shmop errors

2002-01-16 Thread Robin Ericsson
; } else { $count = shmop_read($shm_id, 0, shmop_size($shm_id)); shmop_close($shm_id); return $count; } Which give me the following error: Warning: String is not zero-terminated (0) (source: zend_execute_API.c:274) I'm using 4.1.1, btw. -- robin -- PHP Development Mailing List <

Re: [PHP-DEV] Bug #14593 Updated: configure fails with apxs

2002-01-15 Thread Robin Ericsson
On Tue, 2002-01-15 at 11:00, [EMAIL PROTECTED] wrote: > On Tue, 15 Jan 2002, Yasuo Ohgaki wrote: > > > Robin Ericsson wrote: > > > On Mon, 2002-01-14 at 12:43, Hartmut Holzgraefe wrote: > > > > > >>once again: shouldn't we introduce a new status

Re: [PHP-DEV] Bug #14593 Updated: configure fails with apxs

2002-01-15 Thread Robin Ericsson
hen > browsing search results on bugs.cvs.net, and these "no feedback" > thingies definetly do not qualify as "solved", do they? +1 on this.. > (besides that closing bugs the 'easy' way makes my score on > the statistics page look bad ;) heh :)

[PHP-DEV] internal class, first impressions :)

2002-01-10 Thread Robin Ericsson
ENTRY, my "call_function" is executed, is that the behaviour I want? And then exeture whichever function from there? If I use xmldoc() as reference, it works, it returns an object with functions, etc, but isn't new going to work from C modules without overload? best regards Robin

[PHP-DEV] internal class..

2002-01-09 Thread Robin Ericsson
I'm browsing through the source to the domxml extension, to check how to define and use php class as there seem to be no documentation.. my question I guess is if there is any documentation at all how to use this, or should I check the source for help? best regards Robin --

Re: [PHP-DEV] PHP 4.1.1 for win

2002-01-03 Thread Robin Ericsson
t; I"m upping them now, may take a while though. Are gd 1.x and 2.x included now? Or do we still have the problem that only one version is shipped? regards Robin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP-DEV] easter eggs?

2001-12-19 Thread Robin Ericsson
phpinfo.phtml?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 ^- the php logo phpinfo.phtml?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 ^- the zend logo phpinfo.phtml?=PHPE9568F36-D428-11d2-A769-00AA001ACF42 ^- who the hell is this guy? :) regards Robin -- PHP Development Mailing List <h

Re: [PHP-DEV] Bug #13764 Updated: No error in filename.phtml

2001-12-19 Thread Robin Ericsson
On Wed, 2001-12-19 at 15:31, [EMAIL PROTECTED] wrote: > ID: 13764 > User updated by: [EMAIL PROTECTED] > Reported By: [EMAIL PROTECTED] > Old Status: Feedback > Status: Open > Bug Type: *Directory/Filesystem functions > Operating System: WIN98 > PHP Version: 4.0.6 > New Comment: > > I can't use 4

[PHP-DEV] Bug: #14292, CRLF error with mail() on windows...

2001-12-19 Thread Robin Ericsson
What I can see of the error message, the user is using qmail as smtp server, and I've had some trouble myself with qmail. If the raw email data only contains bare LF, you get this message, and as far as I can see from the mail() code, there is no bare LF -> CRLF conversion in the message content.

Re: [PHP-DEV] Bug #13819 Updated: MSSQL+SYBASE won't work

2001-12-19 Thread Robin Ericsson
On Wed, 2001-12-19 at 04:27, [EMAIL PROTECTED] wrote: > > No, mssql_ functions wont work for sybase_ct. > I have recompiled php_sybase_ct.dll without mssql_ aliases. > Now I can use both mssql and sybase at the same time. > Another way of doing this might be to make some sort of ./configure o

[PHP-DEV] Bug #13227

2001-12-18 Thread Robin Ericsson
What to do in this case? I've checked the site, and it sends out wrong content-type (text/plain). Is there a list of people responsible for each mirror? br R. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

[PHP-DEV] bug: 12899

2001-12-18 Thread Robin Ericsson
Can someone with enough karma remove this url? Is this site even in CVS atm? regards R. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PRO

[PHP-DEV] CVS Account Request: lobbin

2001-12-13 Thread Robin Ericsson
To help out QA team with bugs database. -- PHP Development Mailing List To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DEV] username of a currently logged in user

2001-10-30 Thread robin . gudgeon
Hi, I've written a site using PHP that relies on htaccess authentication. This is all working fine, but I am having problems finding the username of the currently logged-in user (which I need to be able to change passwords). I thought $user contained the user, or $PHP_AUTH_USER but neither of thes

[PHP-DEV] emalloc_rel()

2001-08-31 Thread Robin Ericsson
in c++ and overloaded emalloc/efree to be able to detect memoryleaks. -- Robin Ericsson -- 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] bogus bugs...

2001-08-27 Thread Robin Ericsson
If I find bugs that are open, but are fixed, or bogus or whatever, should I report them somewhere? br Robin -- 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 administrat

[PHP-DEV] contribute...

2001-08-27 Thread Robin Ericsson
Hi, If I want to join the PHP project, and start to contribute code etc, where is a good place to start? Check bugs-database and start fixing bugs? best regards Robin -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

[PHP-DEV] Bug #12911 Updated: stat does not report on dead links [update]

2001-08-22 Thread robin
ID: 12911 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Summary: stat does not report on dead links Status: Open Bug Type: Filesystem function related Operating System: linux PHP Version: 4.0.6 New Comment: i fidled around with this bug a little and it looks like 'fileperm

[PHP-DEV] Bug #12911 Updated: stat does not report on dead links [typo]

2001-08-22 Thread robin
ID: 12911 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Summary: stat does not report on dead links Status: Open Bug Type: Filesystem function related Operating System: linux PHP Version: 4.0.6 New Comment: sorry, there was a typo below. to avoid confusion the function is

[PHP-DEV] Bug #12911: stat does not report on dead links

2001-08-22 Thread robin
From: [EMAIL PROTECTED] Operating system: linux PHP version: 4.0.6 PHP Bug Type: Filesystem function related Bug description: stat does not report on dead links if you have a link ('foo') pointing at a non exsitent target ('bar'), fstat returns false and does not report anyt

[PHP-DEV] Bug #11928 Updated: dbase_replace_record writes (null) in .dbf

2001-08-16 Thread robin . marlow
ID: 11928 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: dBase related Operating System: Win2k PHP Version: 4.0.6 New Comment: Any news on this? Here is the fix, when can this be implemented?... 312c312 < pval *dbh_id, *fields, **field, *recnum

[PHP-DEV] memory leaks in own extension

2001-07-30 Thread Robin Ericsson
nyway, the real problem is, I can't find out where the memoryleaks are, I've tried to overload new/delete functions to use emalloc/efree instead, but that didn't help me much. So, my question should be, is there any other way to detect memoryleaks within PHP? best regards... -- Ro

[PHP-DEV] Re: Help with corrupted defines [bug 11990]

2001-07-12 Thread Robin V. Stacey
for all involved. > > Would someone with the knowledge of the internals of PHP and Zend be > willing to spend some time one-on-one with me any my team trying to get a > solution to this? > > Thanks, > B > > -- > Brian Lalor > [EMAIL PROTECTED] > (v) 480-33

[PHP-DEV] Bug #11928: dbase_replace_record writes (null) in .dbf

2001-07-06 Thread robin . marlow
From: [EMAIL PROTECTED] Operating system: Win2k PHP version: 4.0.6 PHP Bug Type: dBase related Bug description: dbase_replace_record writes (null) in .dbf dbase_replace_record writes (null) string as field value. Identical bug with dbase_add_record was fixed in 4.02. See bu

[PHP-DEV] Re: Bug #9897 Updated: scripts fail with error "Fatal error: Unableto create Java Virtual Machine"

2001-05-10 Thread robin
Sorry yes, I'd forgotten the original message. apologies for that. yes the error occurs from the 3rd JVM onwards. Robin On 10 May 2001, Bug Database wrote: > ID: 9897 > Updated by: sniper > Reported By: [EMAIL PROTECTED] > Status: Feedback > Bug Type: Java related > O

[PHP-DEV] PHP 4.0 Bug #9897: scripts fail with error "Fatal error: Unable to create Java Virtual Machine"

2001-03-21 Thread robin
es the same error. It also appears to be somewhat related to bug # 6617 (http://www.php.net/bugs.php?id=6617) and # 6925 (http://www.php.net/bugs.php?id=6925) Are there any plans to tackle these issues? Robin -- Edit Bug report at: http://bugs.php.net/?id=9897&edit=1 -- PHP Deve

[PHP-DEV] PHP 4.0 Bug #9460: File upload problem when the form control name is an array element

2001-02-26 Thread robin
From: [EMAIL PROTECTED] Operating system: Suse (2.2.16 kernel) PHP version: 4.0.4pl1 PHP Bug Type: HTTP related Bug description: File upload problem when the form control name is an array element Precis: I was trying to submit a form divided into sections, each section havin