NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP 5.0.0 live!

Jeff Knight jeffknight at mac.com
Wed Jul 14 12:48:56 EDT 2004


For all you 5'ers out there, I've got gif write support with RC3, is it 
in 5 now by default (if gd is enabled)? I muck around so much that I 
can't remember if this is something I did or it just came with the 
package.

Did the php developers once again not wait for Boutell?

On Jul 13, 2004, at 6:18 PM, Daniel Kushner wrote:

> Hi all,
>
> After two years of development PHP 5.0.0 is finally up!
>
> Daniel

Jeff Knight
putamare not no freakin' junk at putamare.net


>From hans not junk at nyphp.com  Wed Jul 14 13:10:13 2004
Return-Path: <hans not junk at nyphp.com>
Received: from smtp11.intermedia.net (smtp11.intermedia.net [64.78.21.10])
	by virtu.nyphp.org (Postfix) with ESMTP id 9F144A86BF
	for <talk at lists.nyphp.org>; Wed, 14 Jul 2004 13:10:13 -0400 (EDT)
Received: from ehost011-1.exch011.intermedia.net ([64.78.21.3]) by
	smtp11.intermedia.net with Microsoft SMTPSVC(6.0.3790.0); 
	Wed, 14 Jul 2004 10:10:12 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] PHP-related book comments
Date: Wed, 14 Jul 2004 10:10:09 -0700
Message-ID: <41EE526EC2D3C74286415780D3BA9F870311B7F3 at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] PHP-related book comments
Thread-Index: AcRpvDmkBqfLy0QDRUypmt8vzdCoWwACIo2Q
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-OriginalArrivalTime: 14 Jul 2004 17:10:12.0928 (UTC)
	FILETIME=[6CDF8C00:01C469C5]
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: NYPHP Talk <talk at lists.nyphp.org>
List-Id: NYPHP Talk <talk.lists.nyphp.org>
List-Unsubscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=unsubscribe>
List-Archive: <http://lists.nyphp.org/pipermail/talk>
List-Post: <mailto:talk at lists.nyphp.org>
List-Help: <mailto:talk-request at lists.nyphp.org?subject=help>
List-Subscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Jul 2004 17:10:14 -0000


> If there was any "magic" feature to be added, it should be an auto
> trim() to include[_once]|require[_once] files
>=20
> so frustrating to get that message because of a trailing \n|\r after
the
> closing ?>
>=20
> but if you close your (included) php with
> return;?>
>=20
> those trailing chars won't matter... try it
> create your own magic :)

This is exactly why I always leave off the closing tag on included
files.  Extra spaces etc. at the end of the file have no relevance,
since PHP continues to parse until the end of the file.

People say its sloppy style, but I disagree.  It's worked perfectly for
years, and in fact has saved me loads of time.  I suspect, although
haven't done any testing, that it's an added cycle of performance, too -
albeit a small one, I admit - because PHP just folds in whitespace until
the EOF, instead of seeing the closing tag and potentially then having
to send more data to the output buffer

H


>From hans not junk at nyphp.com  Wed Jul 14 13:12:36 2004
Return-Path: <hans not junk at nyphp.com>
Received: from smtp11.intermedia.net (smtp11.intermedia.net [64.78.21.10])
	by virtu.nyphp.org (Postfix) with ESMTP id 6B2C9A86BF
	for <talk at lists.nyphp.org>; Wed, 14 Jul 2004 13:12:36 -0400 (EDT)
Received: from ehost011-1.exch011.intermedia.net ([64.78.21.3]) by
	smtp11.intermedia.net with Microsoft SMTPSVC(6.0.3790.0); 
	Wed, 14 Jul 2004 10:12:35 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] custom controls to represent DB relationships
Date: Wed, 14 Jul 2004 10:12:33 -0700
Message-ID: <41EE526EC2D3C74286415780D3BA9F870311B7FA at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] custom controls to represent DB relationships
Thread-Index: AcRoViBL368F2zQtTiybDDiJDkMUBgA0HgGAAB/h4mAAB90pQA==
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-OriginalArrivalTime: 14 Jul 2004 17:12:35.0963 (UTC)
	FILETIME=[C220F4B0:01C469C5]
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: NYPHP Talk <talk at lists.nyphp.org>
List-Id: NYPHP Talk <talk.lists.nyphp.org>
List-Unsubscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=unsubscribe>
List-Archive: <http://lists.nyphp.org/pipermail/talk>
List-Post: <mailto:talk at lists.nyphp.org>
List-Help: <mailto:talk-request at lists.nyphp.org?subject=help>
List-Subscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Jul 2004 17:12:36 -0000


> Hi Hans,
>=20
> Thanks for the response.
>=20
> What I am looking for is page widgets - HTML/JS doohickeys (technical
term!)
> that enhance the user experience.
>=20
> Say you have a product that can be assigned to multiple categories -
how are
> you representing this on the screen, so that users can quickly
> add/edit/delete multiple categories to that product?  Also, how to you
let
> them add a new category?  The emphasis is on minimizing page
refreshes, and
> trying to make it more like an application.  Just trying to see what
people
> have come up with.

Ahh, sorry for the misunderstanding.

I'm the wrong guy for getting stuff to look good on the screen :)

This might be a good topic for NYPHP Front-End, too
(http://nyphp.org/lists)

H




More information about the talk mailing list