[dev] SuperGlobals variables

Jon Parise jon@horde.org
Sun, 7 Apr 2002 19:26:38 -0400


On Sun, Apr 07, 2002 at 07:23:41PM -0400, Chuck Hagenbuch wrote:

> > I have no trouble with the change being applied to HEAD.  We
> > should hold off on the RELENG_* branches for a while, though.
> 
> Any particular reason? We do already require php 4.1.0+ for RELENG_3...

I doubt it will break anything, but I think this kind of change
should wait until after this set of releases is out the door.

-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member


>From chuck@horde.org Date: Sun,  7 Apr 2002 19:27:04 -0400
Return-Path: <chuck@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 27075 invoked from network); 7 Apr 2002 23:27:26 -0000
Received: from h00104bc60b3c.ne.client2.attbi.com (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 7 Apr 2002 23:27:26 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 5CFE63CBA; Sun,  7 Apr 2002 19:27:04 -0400 (EDT)
Received: from 192.168.0.140 ( [192.168.0.140])
	as user chuck@localhost by marina.horde.org with HTTP;
	Sun,  7 Apr 2002 19:27:04 -0400
Message-ID: <1018222024.3cb0d5c830b27@marina.horde.org>
Date: Sun,  7 Apr 2002 19:27:04 -0400
From: Chuck Hagenbuch <chuck@horde.org>
To: dev@lists.horde.org
References: <002501c1d358$4c82fc40$0201a8c0@kuromxtr> <1016993303.3c9e16178936a@jan.dip.ammma.net> <1018085061.3caebec524783@www.kurogane.net> <1018086415.3caec40f8cd63@jan.dip.ammma.net> <1018205203.3cb0941379ae7@marina.horde.org> <1018220544.3cb0d00083af8@www.kurogane.net>
In-Reply-To: <1018220544.3cb0d00083af8@www.kurogane.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: Re: [dev] Re: Deathly quiet

Quoting Akira Kurogane <akira@kurogane.net>:

> That's great news, just what I needed to know. If you could give me
> some pointers on how this abstraction works (just a url to a relevant
> document would suffice) I'll see to it that it gets done.

I didn't have anything specific in mind - probably just a wrapper function 
that checks for the mbstring stuff being available, or something like 
that...

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan


>From jan@horde.org Date: Mon,  8 Apr 2002 01:25:30 +0200
Return-Path: <jan@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 27280 invoked from network); 7 Apr 2002 23:28:35 -0000
Received: from mailout01.sul.t-online.com (194.25.134.80)
  by clark.horde.org with SMTP; 7 Apr 2002 23:28:35 -0000
Received: from fwd05.sul.t-online.de 
	by mailout01.sul.t-online.com with smtp 
	id 16uM4l-0004aK-03; Mon, 08 Apr 2002 01:27:59 +0200
Received: from linux.wg.de (320034214675-0001@[217.225.40.126]) by fmrl05.sul.t-online.com
	with esmtp id 16uM4j-0L6MhUC; Mon, 8 Apr 2002 01:27:57 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g37NPWn25964
	for <dev@lists.horde.org>; Mon, 8 Apr 2002 01:25:32 +0200
Received: from 192.168.60.166 ( [192.168.60.166])
	as user jan@mail.wg.de by jan.dip.ammma.net with HTTP;
	Mon,  8 Apr 2002 01:25:30 +0200
Message-ID: <1018221930.3cb0d56ae08e1@jan.dip.ammma.net>
Date: Mon,  8 Apr 2002 01:25:30 +0200
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <1018024233.1113.117.camel@dev.hq.eth.pt> <1018221433.3cb0d37a04f7d@jan.dip.ammma.net> <20020407232135.GA25547@csh.rit.edu>
In-Reply-To: <20020407232135.GA25547@csh.rit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] SuperGlobals variables

Zitat von Jon Parise <jon@horde.org>:

> On Mon, Apr 08, 2002 at 01:17:14AM +0200, Jan Schneider wrote:
> 
> > >    Since IMP now needs php 4.1.x, and other horde apps probably too,
> > > I've done a couple of patches to replace the old global variables
> > > ($HTTP_POST_VARS, $HTTP_GET_VARS, $HTTP_SERVER_VARS,
> $HTTP_SESSION_VARS,
> > > $HTTP_COOKIE_VARS, $HTTP_ENV_VARS, $HTTP_REQUEST_VARS) to the new
> ones
> > > introduced in php 4.1.0 ($_POST, $_GET, $_SERVER, $_SESSION,
> $_COOKIE,
> > > $_ENV, $_REQUEST).
> > 
> > OK, I've got all patches locally applied here and ready to commit. Does
> 
> > anybody has any objections against changing the variables in general or
> for 
> > a specific application?
> 
> I have no trouble with the change being applied to HEAD.  We
> should hold off on the RELENG_* branches for a while, though.

That's fine for me, though I don't see a real reason for this. We depend on 
4.1.x in the RELENG branches anyway.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


>From jan@horde.org Date: Mon,  8 Apr 2002 01:32:21 +0200
Return-Path: <jan@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 29137 invoked from network); 7 Apr 2002 23:44:28 -0000
Received: from mailout06.sul.t-online.com (194.25.134.19)
  by clark.horde.org with SMTP; 7 Apr 2002 23:44:28 -0000
Received: from fwd04.sul.t-online.de 
	by mailout06.sul.t-online.com with smtp 
	id 16uMEc-000257-00; Mon, 08 Apr 2002 01:38:10 +0200
Received: from linux.wg.de (320034214675-0001@[217.225.40.126]) by fmrl04.sul.t-online.com
	with esmtp id 16uMEO-1db1JwC; Mon, 8 Apr 2002 01:37:56 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g37NWMn26043
	for <dev@lists.horde.org>; Mon, 8 Apr 2002 01:32:23 +0200
Received: from 192.168.60.166 ( [192.168.60.166])
	as user jan@mail.wg.de by jan.dip.ammma.net with HTTP;
	Mon,  8 Apr 2002 01:32:21 +0200
Message-ID: <1018222341.3cb0d7051faea@jan.dip.ammma.net>
Date: Mon,  8 Apr 2002 01:32:21 +0200
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <1018024233.1113.117.camel@dev.hq.eth.pt> <1018221433.3cb0d37a04f7d@jan.dip.ammma.net> <20020407232135.GA25547@csh.rit.edu> <1018221821.3cb0d4fd62527@marina.horde.org> <20020407232638.GC25547@csh.rit.edu>
In-Reply-To: <20020407232638.GC25547@csh.rit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] SuperGlobals variables

Zitat von Jon Parise <jon@horde.org>:

> On Sun, Apr 07, 2002 at 07:23:41PM -0400, Chuck Hagenbuch wrote:
> 
> > > I have no trouble with the change being applied to HEAD.  We
> > > should hold off on the RELENG_* branches for a while, though.
> > 
> > Any particular reason? We do already require php 4.1.0+ for
> RELENG_3...
> 
> I doubt it will break anything, but I think this kind of change
> should wait until after this set of releases is out the door.

That's a good reason, yeah.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


>From jan@horde.org Date: Mon,  8 Apr 2002 02:01:40 +0200
Return-Path: <jan@horde.org>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 30326 invoked from network); 8 Apr 2002 00:07:42 -0000
Received: from mailout09.sul.t-online.com (194.25.134.84)
  by clark.horde.org with SMTP; 8 Apr 2002 00:07:42 -0000
Received: from fwd10.sul.t-online.de 
	by mailout09.sul.t-online.com with smtp 
	id 16uMhS-0003V1-01; Mon, 08 Apr 2002 02:07:58 +0200
Received: from linux.wg.de (320034214675-0001@[217.225.40.126]) by fmrl10.sul.t-online.com
	with esmtp id 16uMhQ-1zUspEC; Mon, 8 Apr 2002 02:07:56 +0200
Received: from localhost (localhost [127.0.0.1])
	by linux.wg.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id g3801gn26193
	for <dev@lists.horde.org>; Mon, 8 Apr 2002 02:01:42 +0200
Received: from 192.168.60.166 ( [192.168.60.166])
	as user jan@mail.wg.de by jan.dip.ammma.net with HTTP;
	Mon,  8 Apr 2002 02:01:40 +0200
Message-ID: <1018224100.3cb0dde48b1b3@jan.dip.ammma.net>
Date: Mon,  8 Apr 2002 02:01:40 +0200
From: Jan Schneider <jan@horde.org>
To: dev@lists.horde.org
References: <1017943624.3cac9648d478e@www.kurogane.net>
In-Reply-To: <1017943624.3cac9648d478e@www.kurogane.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1-cvs
X-Sender: 320034214675-0001@t-dialin.net
Subject: Re: [dev] Patches for enabling japanese

I got a first chance to take a look at your patches. But I don't think I'll 
follow this way.

We already discussed if to take the iconv or the mbstring extension to 
handle multiple charsets. While mbstring is definitely the more mature 
extension it lacks the wide support of charset that iconv has. If we want 
to make Horde/IMP more flexible we shouldn't stop half the way in only 
supporting multibyte charsets.

Thus I'll try to do the charset conversions with iconv. This will also give 
users the possibility to read and write messages in different charsets than 
their translations uses. This will probably being done by converting _all_ 
output to UTF-8 if the browser supports it. Probably I need some more help 
then from the mbstring front to make Horde work with UTF data.

As it still may take some time until I can commit some results because I'm 
quite busy currently, you are welcome to provide patches to Horde/IMP to 
support Japanese in the meantime.

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


>From scarr@progbits.com Date: Sun,  7 Apr 2002 23:55:43 -0500
Return-Path: <scarr@progbits.com>
Mailing-List: contact dev-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list dev@lists.horde.org
Received: (qmail 41420 invoked from network); 8 Apr 2002 04:55:05 -0000
Received: from unknown (HELO progbits.com) (208.13.79.180)
  by clark.horde.org with SMTP; 8 Apr 2002 04:55:05 -0000
Received: from nobody by progbits.com with local (Exim 3.34 #1)
	id 16uRBv-00054u-00
	for dev@lists.horde.org; Sun, 07 Apr 2002 23:55:43 -0500
Received: from 216.227.39.121 ( [216.227.39.121])
	as user scarr@progbits.com by mail.progbits.com with HTTP;
	Sun,  7 Apr 2002 23:55:43 -0500
Message-ID: <1018241743.3cb122cfb4ad1@mail.progbits.com>
Date: Sun,  7 Apr 2002 23:55:43 -0500
From: Scott Carr <scarr@progbits.com>
To: dev@lists.horde.org
References: <1018024233.1113.117.camel@dev.hq.eth.pt> <1018221433.3cb0d37a04f7d@jan.dip.ammma.net> <20020407232135.GA25547@csh.rit.edu>
In-Reply-To: <20020407232135.GA25547@csh.rit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1-cvs
X-Originating-IP: 216.227.39.121
Sender: nobody <nobody@progbits.com>
Subject: Re: [dev] SuperGlobals variables

I have seen some issues with $_SESSION variables.  Sometimes it doesn't register
the variables correctly.  You still have to use session_register on occassion.

This was with 4.1.2 on windows.  I don't believe I have seen the problem in the
LInux version, but I haven't tested that as much.

Just wanted to bring it up as a potential bug to the list.
-- 
Scott Carr
OpenOffice.org
Whiteboard-Doc Maintainer
http://whiteboard.openoffice.org/doc/


Quoting Jon Parise <jon@horde.org>:

> On Mon, Apr 08, 2002 at 01:17:14AM +0200, Jan Schneider wrote:
> 
> > >    Since IMP now needs php 4.1.x, and other horde apps probably too,
> > > I've done a couple of patches to replace the old global variables
> > > ($HTTP_POST_VARS, $HTTP_GET_VARS, $HTTP_SERVER_VARS,
> $HTTP_SESSION_VARS,
> > > $HTTP_COOKIE_VARS, $HTTP_ENV_VARS, $HTTP_REQUEST_VARS) to the new ones
> > > introduced in php 4.1.0 ($_POST, $_GET, $_SERVER, $_SESSION, $_COOKIE,
> > > $_ENV, $_REQUEST).
> > 
> > OK, I've got all patches locally applied here and ready to commit. Does 
> > anybody has any objections against changing the variables in general or for
> 
> > a specific application?
> 
> I have no trouble with the change being applied to HEAD.  We
> should hold off on the RELENG_* branches for a while, though.
> 
> -- 
> Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
> http://www.csh.rit.edu/~jon/  :  Computer Science House Member
> 
> -- 
> Horde Developers mailing list: http://horde.org/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org
> 
> 


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/