Re: [PHP-DEV] Strict session?

2011-11-11 Thread Rui Hirokawa
PHP 5.4.1, I suggest that the default value of session.use_strict_mode should be 0 (Off) to maintain the backward compatibility. Rui Yasuo Ohgaki wrote: > Hi all, > > Few years ago, I have proposed strict session. > It seems PHP 5.4 and php-src don't have protection against sessi

Re: [PHP-DEV] Zend Multibyte support

2011-11-02 Thread Rui Hirokawa
HP script causes the parser error. For both cases, zend.multibyte and zend.script_encoding can be specified. I believe that it was OK in Ubuntu 11.04 with the same option (--with-axps2). Rui Yasuo Ohgaki wrote: > Hi all, > > I noticed that "Zend Multibyte Support"

[PHP-DEV] proposal for change the argument of parse_str/mb_parse_str

2011-09-10 Thread Rui Hirokawa
the security. Rui -- Rui Hirokawa -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] adding RFC3984 support to http_build_query

2011-01-05 Thread Rui Hirokawa
Hello, This is a revised patch based on the PHP constant. Rui (2011/01/05 21:50), Rui Hirokawa wrote: Hello, Thank you for the comment. How about adding two PHP constant, PHP_QUERY_RFC1738 (default) and PHP_QUERY_RFC3986 ? It is like, echo http_build_query($v, null, '&

Re: [PHP-DEV] [PATCH] adding RFC3984 support to http_build_query

2011-01-05 Thread Rui Hirokawa
Hello, Thank you for the comment. How about adding two PHP constant, PHP_QUERY_RFC1738 (default) and PHP_QUERY_RFC3986 ? It is like, echo http_build_query($v, null, '&'); echo http_build_query($v, null, '&',PHP_QUERY_RFC1738); echo http_build_query($v, null, &

[PHP-DEV] [PATCH] adding RFC3984 support to http_build_query

2011-01-05 Thread Rui Hirokawa
_build_query($v, null, '&'); // result: foo=m%20p&boo=%5B%5E~5D (RFC-3986 compatible) echo http_build_query($v, null, '&', true); // result: foo=m%20p&boo=%5B%5E~5D (RFC-3986 compatible) echo rawurlencode($v['foo']).&

Re: [PHP-DEV] PHP 4.4.9 Released!

2008-08-08 Thread Rui Hirokawa
There are a typo in NEWS of PHP 4.4.9. #37421 should be #27421. > fixed bug #27421 (by david at dfoerster dot de) mbstring.func_overload > set in .htaccess becomes global Rui On Thu, 7 Aug 2008 14:09:47 -0700 "Chris Stockton" <[EMAIL PROTECTED]> wrote: > Hello

Re: [PHP-DEV] New flame

2008-07-05 Thread Rui Hirokawa
. mbstring.script_encoding in php.ini 2. declare(encoding=xxxx) in the script 3. BOM in Unicode (UTF-8, UTF-16) All of these are alrady covered by the current test scrpts. Rui -- Rui Hirokawa <[EMAIL PROTECTED]> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / Zend.m4 zend.c zend_compile.c zend_globals.h zend_highlight.c zend_language_scanner.c zend_language_scanner.h zend_language_scanner.l zend_l

2008-07-05 Thread Rui Hirokawa
Current implementation of zend-multibyte for PHP 5.3 is ported from PHP 5.2 with minimal changes. I think that the incompatibilities between flex and re2c cause the problem. Marcus, Do you have any comments ? Rui On Thu, 3 Jul 2008 10:04:30 +0200 (CEST) Derick Rethans <[EMAIL PROTEC

Re: [PHP-DEV] towards a 5.3 release

2008-07-03 Thread Rui Hirokawa
Hello, > 3) re2c > Rui recently came to the list with notes on the ZE MB feature [7]. > > @Scott/Marcus: Is this enough for you guys to get this working? > @Rui: Is there any chance you can get more people in the japanese (or > asian in general) community involved here?

Re: [PHP-DEV] New flame

2008-06-29 Thread Rui Hirokawa
for (1),(2) for Shift_JIS encoding. But, I didn't confirmed yet for Unicode BOM and other encodings. We need to have more test scripts to maintain the reliability, to minimize security risks. Rui On Tue, 24 Jun 2008 16:21:33 +0200 Stefan Esser <[EMAIL PROTECTED]> wrote: > -BEGIN

Re: [PHP-DEV] Adding new encodings to mbstring?

2008-06-29 Thread Rui Hirokawa
patch into libmbl and mbstring after simple inspection. Rui On Sat, 28 Jun 2008 22:12:07 -0400 "Haluk AKIN" <[EMAIL PROTECTED]> wrote: > Hi all, > > Is it possible to add new character encodings to mbstring? > http://us.php.net/mbstring > > If it is possible, the

Re: [PHP-DEV] PHP 5.2.6RC5 Released

2008-04-11 Thread Rui
Elizabeth M Smith escreveu: Steph Fox wrote: Hi Gwynne, I'd be willing to take a bash at it. What's required? I have access to a Windows XP SP2 machine. MSVC 6.0 - and up to date libraries for everything, which would be my personal stumbling block right now. Elizabeth's probably best-placed

[PHP-DEV] Re: RE : [PHP-DEV] Re: RE : [PATCH] zend-multibyte unicode detection vs. __halt_compiler()

2007-10-01 Thread Rui Hirokawa
Changing 'detect_unicode' disabled as default is a possible solution. But, it might cause some backward incompatibility issues. If no one gives any objection within a coupled of days, I will commit the change ('detect_unicode' will be disabled by default). Rui On Thu,

Re: [PHP-DEV] Re: RE : [PATCH] zend-multibyte unicode detection vs. __halt_compiler()

2007-09-07 Thread Rui Hirokawa
Hi, The declare() semantic like, declare(encoding="Shift_JIS"); is already supported by mbstring since PHP 4.3. 1.set detect_unicode = Off 2.adding declare(encoding="encoding_name") on the first line of script can be your solution ? Rui On Fri, 07 Sep 2007 14:40:14 -0500

Re: [PHP-DEV] [PATCH] zend-multibyte unicode detection vs. __halt_compiler()

2007-08-26 Thread Rui Hirokawa
Hi, IMHO, #42396 is not a bug, but it is the specification. The normal script doesn't contain a null byte if it is not encoded in Unicode. It is understandable the addition of a unique byte seqence '0x' detection to support PHAR/PHK, but it is a change to add a new fe

Re: [PHP-DEV] php6: input encoding, filter and making JIT really JIT

2006-12-15 Thread Rui Hirokawa
I think #2 is better than #1. The current implementation of mbstring is based on the solution similar to #1. It is simple and stable, but, #2 has more flexibility. Rui On Thu, 14 Dec 2006 21:59:44 +0100 Pierre <[EMAIL PROTECTED]> wrote: > Hello, > > Yesterday, Ilia, Andrei and

[PHP-DEV] RFC: about mb_list_encoding() /mb_list_encodings_alias_names( ), mb_list_mime_names( )

2006-09-23 Thread Rui Hirokawa
alias/MIME encoding? 1. adding new functions (mb_list_encodings_alias_names(), mb_list_mime_names()) 2. adding an option to mb_list_encoding(). Regards, Rui Hirokawa -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] CVS Account Request: fhpg

2006-04-10 Thread rui zhao
myhong -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] PHP 6.0 Wishlist

2005-08-12 Thread Rui Hirokawa
+1 bundling the opcode cache like APC. I also wish some elemental debugging features (stack dump, etc.) like Xdebug has. Rui On Fri, 12 Aug 2005 10:48:20 -0700 Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > Since we are breaking a lot of stuff in 6.0, at least with > Unicode_seman

Re: [PHP-DEV] Implementing support for HTTP Digest Authorization in PHP

2005-03-28 Thread Rui Hirokawa
I checked this problem again, and I found getallheaders() can have "authorization" even if safe_mode is "On". So, $_SERVER['PHP_AUTH_DIGEST'] in my patch is not necessary to use with PEAR::Auth_HTTP and Apache. I am not sure it is useful or not with another SAPI

Re: [PHP-DEV] Implementing support for HTTP Digest Authorization in PHP

2005-03-26 Thread Rui Hirokawa
HTTP Digest Authorization is supported by PEAR::Auth_HTTP. But, as you said, it cannot be used when safe_mode = On. To solve this problem, I made a simple patch based on your suggestion based on php5 CVS HEAD. Applying this patch, we can access $_SERVER['PHP_AUTH_DIGEST'] , w

Re: [PHP-DEV] mbstring internal encoding behavior

2004-12-10 Thread Rui Hirokawa
= Japanese; for Japanese encoding like Shift_JIS mbstring.language = Korean; for Korean encoding It affects the automatic encoding detection of the user input (POST/GET/Cookie) and the default encoding. Rui On Sat, 04 Dec 2004 15:01:59 -0500 Al Baker <[EMAIL PROTECTED]> wrote: > I&#

Re: [PHP-DEV] Comparing objects on PHP5

2004-05-09 Thread Rui Hirokawa
) same,not same,not same,same not same,not same,not same,same PHP 5.0.0-CVS 2004/5/9 (ze1_compatibility_mode = On) same,same,not same,same not same,not same,not same,not same Rui On Sun, 09 May 2004 19:17:35 +0300 Andi Gutmans <[EMAIL PROTECTED]> wrote: > Did you check HEAD? I fixed som

[PHP-DEV] Comparing objects on PHP5

2004-05-09 Thread Rui Hirokawa
oo] could not be converted to integer) not same,not same,not same,same PHP 5.0.0RC2 zend.ze1_compatibility_mode=on : same,same,not same,same not same,not same,not same,not same The problem and question are, 1. the different class is recognised as same in PHP5 (ze1_compat=on). 2. the sa

[PHP-DEV] Re: adding http digest authentication to php5

2004-02-01 Thread Rui Hirokawa
the order of parameters should be unknown. I will use Thomas Pike's excellent implementation now. Rui Rui Hirokawa wrote: Hi, I just made a patch to add http digest authentication for php5 based on RFC2617. It is not tested well yet, the attached sample script 'digest-auth.php' wo

[PHP-DEV] Re: adding http digest authentication to php5

2004-02-01 Thread Rui Hirokawa
Can I attach a php script ? $username = "taro"; $password = "secret"; function auth_func() { global $realm, $nonce; header('HTTP/1.0 401 Unauthorized'); header("WWW-authenticate: Digest realm=\"$realm\" nonce=\"$nonce\""); die('password or user name is invalid.'); } if (empty($_SERVER['PH

[PHP-DEV] Re: adding http digest authentication to php5

2004-02-01 Thread Rui Hirokawa
I forgot to attach a sample script. Rui Hi, I just made a patch to add http digest authentication for php5 based on RFC2617. It is not tested well yet, the attached sample script 'digest-auth.php' works with Mozilla Firebird 0.7. It is useful or not ? Rui -- PHP Internals - P

[PHP-DEV] adding http digest authentication to php5

2004-02-01 Thread Rui Hirokawa
Hi, I just made a patch to add http digest authentication for php5 based on RFC2617. It is not tested well yet, the attached sample script 'digest-auth.php' works with Mozilla Firebird 0.7. It is useful or not ? Rui Index: m

[PHP-DEV] Re: [PATCH] mbstring warning fixes

2003-11-11 Thread Rui Hirokawa
Thank you for sending patch. I applied your first patch to cvs, but, the second change was already applied in cvs. Rui On Tue, 11 Nov 2003 15:45:35 + Joe Orton <[EMAIL PROTECTED]> wrote: > 4.3/ext/mbstring/mbstring.c: In function `php_mb_gpc_encoding_converter': >

Re: [PHP-DEV] changes in ext/mbstring (PHP_4_3)

2003-09-21 Thread Rui Hirokawa
Ilia, I understand your opinion. The stable release has priority in PHP_4_3 branch. I will skip to commit for PHP_4_3 branch, and I commit this change for upcoming PHP_4_4 (4.5?) branch. Rui On Sun, 21 Sep 2003 12:26:25 -0400 Ilia Alshanetsky <[EMAIL PROTECTED]> wrote: > PHP_4_3 is

[PHP-DEV] changes in ext/mbstring (PHP_4_3)

2003-09-21 Thread Rui Hirokawa
. I have plan to commit the same changes to PHP_4_3 branch. If someone has problem with these changes, please let me know. Rui -- Rui Hirokawa <[EMAIL PROTECTED]> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php