[PHP-DEV] Re: cvs: php4 / Makefile.global

2002-10-30 Thread Yasuo Ohgaki
Ilia Alshanetsky wrote: (B iliaa Tue Oct 29 10:22:41 2002 EDT (B (B Modified files: (B /php4 Makefile.global (B Log: (B Allows 'make test' to run without being harassed by open_basedir safe_mode. (B (BThis is just another example why we should use

Re: [PHP-DEV] Re: cvs: php4 / Makefile.global

2002-10-30 Thread Derick Rethans
On Wed, 30 Oct 2002, Yasuo Ohgaki wrote: Ilia Alshanetsky wrote: iliaa Tue Oct 29 10:22:41 2002 EDT Modified files: /php4 Makefile.global Log: Allows 'make test' to run without being harassed by open_basedir safe_mode. This is just

[PHP-DEV] Error while checking-in files: cvs server: cannot lock ...

2002-10-30 Thread Ananth Kesari
Hi, I am porting PHP for NetWare. Most of the NetWare files are now committed into the CVS 4.2 source code branch. But I am facing one problem while I am trying to commit two batch files: BisonExtStandard.bat and BisonFlexZend.bat. I have added these two files and it went through fine. When I

Re: [PHP-DEV] Re: cvs: php4 / Makefile.global

2002-10-30 Thread Rasmus Lerdorf
This is just another example why we should use certain ini. I think we agreed to use certain php.ini, such as php.ini-test. Not setting one by one. There was no such agreement. In fact, for proper testing each test should explicitly define which ini settings it depends on so that we can test

Re: [PHP-DEV] Re: cvs: php4 / Makefile.global

2002-10-30 Thread Derick Rethans
On Wed, 30 Oct 2002, Rasmus Lerdorf wrote: This is just another example why we should use certain ini. I think we agreed to use certain php.ini, such as php.ini-test. Not setting one by one. There was no such agreement. In fact, for proper testing each test should explicitly define

Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-30 Thread Melvyn Sopacua
[ wasn't online yesterday, so if this is done already, my apologies ] At 18:48 29-10-2002, Jani Taskinen wrote: On Tue, 29 Oct 2002, Zeev Suraski wrote: Shouldn't there be different settings? People may very well want html errors off, but still keep the rest of PHP 'web enabled'... I've

Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-30 Thread Jani Taskinen
On Wed, 30 Oct 2002, Melvyn Sopacua wrote: Isn't this the easy way: proto void phpinfo([string format])? format defaults to html when sapi != cli. Keeps it simple and allows: [WEB:] mail([EMAIL PROTECTED], Not good, phpinfo('text')); [CLI:] phpinfo('html'); to write to a static file, in the

Re: [PHP-DEV] [CVS Questions] ext/sybase_ct

2002-10-30 Thread Melvyn Sopacua
At 22:49 29-10-2002, Timm Friebe wrote: * buildconf says: You need bison version = 1.30 = 1.75 installed to build PHP from CVS - I'm running FreeBSD 4.7-STABLE, bison from ports is 1.35_1 *and* You need libtool version 1.4 or newer installed - libtool from ports is 1.3.4_4 Are there

Re: [PHP-DEV] html_error related to phpinfo() output

2002-10-30 Thread Melvyn Sopacua
At 11:48 30-10-2002, Jani Taskinen wrote: On Wed, 30 Oct 2002, Melvyn Sopacua wrote: Isn't this the easy way: proto void phpinfo([string format])? format defaults to html when sapi != cli. Keeps it simple and allows: [WEB:] mail([EMAIL PROTECTED], Not good, phpinfo('text')); [CLI:]

Re: [PHP-DEV] [CVS Questions] ext/sybase_ct

2002-10-30 Thread Melvyn Sopacua
At 12:08 30-10-2002, Melvyn Sopacua wrote: OR - apply the attached patch to /usr/ports/Mk/bsd.port.mk. yeah-right. Now then. Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua --- bsd.port.mk~Wed Oct 2 09:18:17 2002 +++ bsd.port.mk Sun Oct 27 13:08:16

[PHP-DEV] bug in PHPAPI char *php_str_to_str() function?

2002-10-30 Thread Marc Boeren
Hi, If I call the internal (string.c) php_str_to_str function PHPAPI char *php_str_to_str(char *haystack, int length, char *needle, int needle_len, char *str, int str_len, int *_new_length) with an empty haystack string (), it returns NULL instead of an empty (smart_)string. This

[PHP-DEV] Proposal for extending gettype()

2002-10-30 Thread Andrey Hristov
Hi, I am curious what's is the opinion of the devs about adding new additional parameter to gettype which won't be compulsory. Using it instead of returning a string the function will return an int which. As an addition new consts will be registered - something like IS_STRING, IS_LONG and so on.

[PHP-DEV] building with cygwin/ssh

2002-10-30 Thread Marcus Boerger
When building php on a remote machine using cygwin+ssh the terminal name is 'cygwin' and cannot be detected by shtool. However it works when using settings from vt100. I maild this to the developer but did not get any feedback yet... marcus cvs -z3 -q diff build\shtool (in directory

[PHP-DEV] php/ext/xslt and TSRM

2002-10-30 Thread Marcus Boerger
What about removing all TSRMLS_FETCH() and instead passing TSRM parameters in php_xslt struct? marcus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] php/ext/xslt and TSRM

2002-10-30 Thread Melvyn Sopacua
At 15:10 30-10-2002, Marcus Boerger wrote: What about removing all TSRMLS_FETCH() and instead passing TSRM parameters in php_xslt struct? Before you do that, I'd rather you wait untill after the weekend - unless there's a compelling reason not too. I'm working on exposure of Sablotron SXP_

Re: [PHP-DEV] php/ext/xslt and TSRM

2002-10-30 Thread Marcus Boerger
At 15:54 30.10.2002, Melvyn Sopacua wrote: At 15:10 30-10-2002, Marcus Boerger wrote: What about removing all TSRMLS_FETCH() and instead passing TSRM parameters in php_xslt struct? Before you do that, I'd rather you wait untill after the weekend - unless there's a compelling reason not too.

[PHP-DEV] Re: [PHP-CVS] cvs: php4 /build buildcheck.sh

2002-10-30 Thread Sebastian Bergmann
Andi Gutmans wrote: Right, and if you try it with 1.28 it'll work. Is this is a bug in bison (and if so, do the bison developers know about it?), or a (temporary) issue with Zend Engine 2? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/

[PHP-DEV] POST file transferring

2002-10-30 Thread Maris Kalnins
Hi guys! The situation is following: I need to transfer a file from one server to another by POST method. Goal server has a getfile.php script that actually is placing the file in temp directory for further opening and reading using fopen(..) the thing i cannot get into is how to send from one

[PHP-DEV] safe_mode_include_dir option

2002-10-30 Thread Ilia A.
The current implementation of the safe_mode_include_dir only allows bypassing of safe_mode by the include/require functions in the specified directories. No other safe_mode limited file operation can access those files. Since there is no other parameter other then safe_mode_include_dir to

RE: [PHP-DEV] php/ext/xslt and TSRM

2002-10-30 Thread David Viner
perhaps i'm a bit slow... what is the gain by moving the TSRMLS_FETCH() from functions to having the TSRM params in the php_xslt struct? that is, what functionality or benefit is brought to the extension or the code? Is there something that the extension does not handle properly as it stands? or

RE: [PHP-DEV] php/ext/xslt and TSRM

2002-10-30 Thread Rasmus Lerdorf
Well, in the threaded case you avoid a rather expensive ts_resource_ex() function call, so what you gain is performance. Functionality should be the same. -Rasmus On Wed, 30 Oct 2002, David Viner wrote: perhaps i'm a bit slow... what is the gain by moving the TSRMLS_FETCH() from functions to

Re: [PHP-DEV] Re: [PHP-CVS] cvs: php4 /build buildcheck.sh

2002-10-30 Thread Andi Gutmans
At 06:24 PM 10/30/2002 +0100, Sebastian Bergmann wrote: Andi Gutmans wrote: Right, and if you try it with 1.28 it'll work. Is this is a bug in bison (and if so, do the bison developers know about it?), or a (temporary) issue with Zend Engine 2? I think (not sure) it's a bug in bison. I

Re: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Andi Gutmans
I think you guys have convinced me that having only isn't too bad (Jason will kill me now). Does anyone here on php-dev have any additional thoughts? I just want to point out that what convinced me wasn't the anyone who knows twos complement would know that blah blah blah argument. Don't

RE: [PHP-DEV] php/ext/xslt and TSRM

2002-10-30 Thread Andi Gutmans
At 10:08 AM 10/30/2002 -0800, Rasmus Lerdorf wrote: Well, in the threaded case you avoid a rather expensive ts_resource_ex() function call, so what you gain is performance. Functionality should be the same. It's not *that* slow as on most OS's we cache it in local storage. But then again, yes,

RE: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread James Cox
We're going to walk into a confusion where people will expect to work too, and get bitten. We have to be really careful that we explain it properly. -- james I think you guys have convinced me that having only isn't too bad (Jason will kill me now). Does anyone here on php-dev have any

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

2002-10-30 Thread moshe doron
well 2.3 dayes left, i tried asking some ppl on mail doing that change but didnt got response. can some1 else (may u derick) did it? thnx moshe. -- Derick Rethans [EMAIL PROTECTED] wrote in message news:Pine.LNX.4.44.0210281426290.30026-10;jdi.jdimedia.nl... Hello, Can you please send

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

2002-10-30 Thread Derick Rethans
On Wed, 30 Oct 2002, moshe doron wrote: well 2.3 dayes left, i tried asking some ppl on mail doing that change but didnt got response. can some1 else (may u derick) did it? I can if I receive the patch in a normal form. Derick Derick Rethans [EMAIL PROTECTED] wrote in message

RE: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Andi Gutmans
At 08:05 PM 10/30/2002 +, James Cox wrote: We're going to walk into a confusion where people will expect to work too, and get bitten. We have to be really careful that we explain it properly. That was my initial worry too. Andi -- PHP Development Mailing List http://www.php.net/ To

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

2002-10-30 Thread moshe doron
i already did it. couldn u get the tar.gz file? let do it the web way: http://212.199.221.100/moshe/heb-calendar-patch.tar.gz thnx moshe. -- Derick Rethans [EMAIL PROTECTED] wrote in message news:Pine.LNX.4.44.0210302118180.5024-10;jdi.jdimedia.nl... On Wed, 30 Oct 2002, moshe doron

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

2002-10-30 Thread James Cox
Derick, everyone else seemed to get this patch as an attachment... -- james -Original Message- From: moshe doron [mailto:mosdoron;netvision.net.il] Sent: Wednesday, October 30, 2002 8:31 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DEV] hebrew patch for jewish calendar i already

Re: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Jason T. Greene
On Wed, 2002-10-30 at 13:26, Andi Gutmans wrote: I think you guys have convinced me that having only isn't too bad Great, I really think this is the way to go! (Jason will kill me now) /me kills Andi Just kidding, I am just glad we can come to an agreement, so I can start working on a

[PHP-DEV] Bug #20175 (Static vars can't store ref to new instance)

2002-10-30 Thread Moriyoshi Koizumi
I've simplified the test code, and I still have got a strange result with ZE2. -- ?php function foo() { static $value; if (!isset($value)) { $value = rand(0,100); }

RE: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Jason T. Greene
Ok, I hereby volunteer to update the documentation to clearly explain shifting (with examples). -Jason On Wed, 2002-10-30 at 14:05, James Cox wrote: We're going to walk into a confusion where people will expect to work too, and get bitten. We have to be really careful that we explain it

RE: [PHP-DEV] php/ext/xslt and TSRM

2002-10-30 Thread Marcus Boerger
At 19:02 30.10.2002, David Viner wrote: perhaps i'm a bit slow... what is the gain by moving the TSRMLS_FETCH() from functions to having the TSRM params in the php_xslt struct? that is, what functionality or benefit is brought to the extension or the code? Is there something that the extension

Re: [PHP-DEV] Re: Leak Memory Overrun in 4.3.0pre2

2002-10-30 Thread Andi Gutmans
Adding a BCMATH_G() TSRM macro around all instances of _one_, _two_ and _zero_ seems to be quite a pain because it means that libbcmath needs to understand TSRM now. On the other hand these three variables need to be per-request because emalloc()'ed memory can't survive in between requests.

[PHP-DEV] Adding mail() Parameter to Set Return Path

2002-10-30 Thread Michael Sisolak
Several months ago the imap_sendmail.c routines were merged into the standard Win32 sendmail.c code. One of the results of this was that the TSendMail function gained a parameter to specifically set the mail header return path. The imap_mail() function can use this parameter, but the standard

[PHP-DEV] Question about Classes

2002-10-30 Thread Juerg Zgraggen
hi i made a class in PHP. id like to define public and private function for that class like in C++. is this possible? the public and private inside the class does not work... why? thanx, jürg zgraggen /* My Class*/ class bz_ClassX { var $nNumber; var $strDescription; var $strModul; //

RE: [PHP-DEV] Re: Unsigned Problems Revisited

2002-10-30 Thread Mike Robinson
Jason T. Greene writes: Ok, I hereby volunteer to update the documentation to clearly explain shifting (with examples). Excellent! That way, I can't stop losing sleep wondering what the heck someone would need this stuff for. :) Best Regards Mike Robinson -- PHP Development Mailing

Re: [PHP-DEV] Bug #20175 (Static vars can't store ref to new instance)

2002-10-30 Thread Marcus Boerger
Attached you see it as a .phpt file (but where is the difference between your ZE1/2 results). Part 2: bar_static() is the test that failed in bug20175 but i think the way Zend Engine 1.1/2 do it now is correct because they return copies. Part 3: indeed seems to be an error. Because the manual

[PHP-DEV] Re: Question about Classes

2002-10-30 Thread nicos
This works only with ZE2. -- M.CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com Hébergement de sites internets. Juerg Zgraggen [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] hi i made a class in PHP. id like to define public and private function for that class like

Re: [PHP-DEV] Bug #20175 (Static vars can't store ref to newinstance)

2002-10-30 Thread Moriyoshi Koizumi
Hi, marcus Thanks for the further investigation. I later found my test doesn't do the same thing as the one supplied in #20175 (sorry for confusions), because if the referenced thing is virtually a kind of resource identifier (i.e. ZE2 spec), there must be no such problem. Anyway I think

Re: [PHP-DEV] Re: Question about Classes

2002-10-30 Thread Timm Friebe
On Wed, 2002-10-30 at 23:34, [EMAIL PROTECTED] wrote: This works only with ZE2. [...public and private functions...] AFAIK not. There will be private, protected and public class members, though. -- Timm Any sufficiently advanced bug is indistinguishable from a feature -- PHP Development

Re: [PHP-DEV] Re: cvs: php4 / Makefile.global

2002-10-30 Thread Yasuo Ohgaki
Derick Rethans wrote: On Wed, 30 Oct 2002, Yasuo Ohgaki wrote: Ilia Alshanetsky wrote: iliaa Tue Oct 29 10:22:41 2002 EDT Modified files: /php4 Makefile.global Log: Allows 'make test' to run without being harassed by open_basedir safe_mode. This is just another

Re: [PHP-DEV] Re: cvs: php4 / Makefile.global

2002-10-30 Thread Yasuo Ohgaki
Derick Rethans wrote: On Wed, 30 Oct 2002, Yasuo Ohgaki wrote: Ilia Alshanetsky wrote: iliaa Tue Oct 29 10:22:41 2002 EDT Modified files: /php4 Makefile.global Log: Allows 'make test' to run without being harassed by open_basedir safe_mode. This is just another

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

2002-10-30 Thread Wez Furlong
Derick: pine can't handle uuencoded attachments :/ moshe: Your mua appears to be MS Outlook Express; you can avoid these strange problems with attachments by setting it to send base64 encoded MIME attachments instead of uuencoded attachments. As for the patch, can you explain in english what it

Re: [PHP-DEV] Re: Question about Classes

2002-10-30 Thread Andi Gutmans
At 01:36 AM 10/31/2002 +0100, Timm Friebe wrote: On Wed, 2002-10-30 at 23:34, [EMAIL PROTECTED] wrote: This works only with ZE2. [...public and private functions...] AFAIK not. There will be private, protected and public class members, though. We are also planning private/public methods. Zeev

[PHP-DEV] always_populate_raw_post_data = On breaks file uploads..

2002-10-30 Thread Jani Taskinen
Broken by this commit: 2002-10-21 Hartmut Holzgraefe [EMAIL PROTECTED] * ext/standard/php_fopen_wrapper.c main/SAPI.c main/main.c main/php_content_types.c main/php_globals.h: some changes to how request input data (Content-Lenght 0) is

[PHP-DEV] CVS Account Request: rammahi

2002-10-30 Thread Yousif Rammahi
thanks for you -- PHP Development Mailing List http://www.php.net/ To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: Question about Classes

2002-10-30 Thread Sebastian Bergmann
Andi Gutmans wrote: We are also planning private/public methods. Zeev has already started working on it. GOOD NEWS! :) -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

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

2002-10-30 Thread moshe doron
moshe: Your mua appears to be MS Outlook Express; you can avoid these strange problems with attachments by setting it to send base64 encoded MIME attachments instead of uuencoded attachments. thnxs As for the patch, can you explain in english what it actually does? i just returned the