NYCPHP Meetup

NYPHP.org

[nycphp-talk] Recommend Email POP3 Class or code snippet

Adam Maccabee Trachtenberg adam at trachtenberg.com
Sat Feb 28 00:42:29 EST 2004


> Looking for a recommendation for an email class to handle polling a
> POP3 box.  In the past, I've used the POP3 class on phpclasses.org
> without issue, but I don't believe it handles attachments (I could
> be wrong, just getting

There's now a C extension:

http://pecl.php.net/POP3

-adam

-- 
adam at trachtenberg.com
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!

>From hans not junk at nyphp.com  Sat Feb 28 00:50:25 2004
Return-Path: <hans not junk at nyphp.com>
Received: from ehost011-1.exch011.intermedia.net (unknown [64.78.21.3])
	by virtu.nyphp.org (Postfix) with ESMTP id F011FA85F0
	for <talk at lists.nyphp.org>; Sat, 28 Feb 2004 00:50:24 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] moving MySQL Tables
Date: Fri, 27 Feb 2004 21:50:22 -0800
Message-ID: <41EE526EC2D3C74286415780D3BA9F87AA66F6 at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] moving MySQL Tables
Thread-Index: AcP9Uy+yuldDbieiTz6ZuaMH5TSYOgAaxy3A
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.2
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: Sat, 28 Feb 2004 05:50:25 -0000


> > I copied over the data folder
> I didn't know such a folder existed.  Where could this be=20
> found on Unix?

It depends on the flavor of Unix and possibly the distribution.  Give me =
these details and I can point you to a couple possible locations.

All this said:  dump mysql data to an ascii format (mysqldump), use the =
binary log, or do it across the network by way of LOAD DATA FROM MASTER =
(if they're recent versions and I remember that as the correct name).  =
Copying raw binary data =3D Bad (endianess/disk caches/mysql =
caches/binary representations/etc).

H


>From hans not junk at nyphp.com  Sat Feb 28 00:58:22 2004
Return-Path: <hans not junk at nyphp.com>
Received: from ehost011-1.exch011.intermedia.net (unknown [64.78.21.3])
	by virtu.nyphp.org (Postfix) with ESMTP id 1E54BA85F0
	for <talk at lists.nyphp.org>; Sat, 28 Feb 2004 00:58:22 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] Magic is Illusion?!?
Date: Fri, 27 Feb 2004 21:58:19 -0800
Message-ID: <41EE526EC2D3C74286415780D3BA9F87AA66F7 at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] Magic is Illusion?!?
Thread-Index: AcP9Zz4kk9TXJhL1QCOJPvsNcwExTwAWF2wg
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.2
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: Sat, 28 Feb 2004 05:58:22 -0000


> > Big files, and i think "nobody" is the default user for nfs shared
> > filesystems. Is the box an nfs server?
>=20
> YES.  It has ended up that way out of necessity more than design.  As =
I
> understand it FreeBSD (can't speak to the other BSD's) are a poor =
choice
> to serve NFS.

Does anything make a good NFS server?  :)

They seem familiar, but I can't place them:  maybe truss or ktrace can =
help.

And to plug NYPHP's evil twin:  http://nycbug.org

H

>From hans not junk at nyphp.com  Sat Feb 28 01:01:12 2004
Return-Path: <hans not junk at nyphp.com>
Received: from ehost011-1.exch011.intermedia.net (unknown [64.78.21.3])
	by virtu.nyphp.org (Postfix) with ESMTP id B4CD5A85F0
	for <talk at lists.nyphp.org>; Sat, 28 Feb 2004 01:01:11 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] CSV Regex
Date: Fri, 27 Feb 2004 22:01:09 -0800
Message-ID: <41EE526EC2D3C74286415780D3BA9F87AA66F8 at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] CSV Regex
Thread-Index: AcP9grMaivCcqDqfSjyecZwD+71EngAPU2ng
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.2
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: Sat, 28 Feb 2004 06:01:12 -0000


> > --- Hans Zaunere <hans not junk at nyphp.com> wrote:
> > > I'm looking to parse a CSV file and figured there must be a smooth
> > > regex for the job.
> >
> > Any reason why fgetcsv() doesn't work for you?

Yeah... didn't even realize it existed :)  PHP is too easy sometime.

> > http://www.php.net/fgetcsv
> >
> > I've always found it to do a fine job, plus it's very fast.

The CSV data is pretty nasty, so I'll see how fgetcsv() fares.  It's =
MCSE certified generated CSV :)

> What Chris said, but if you really want a regex, I suggest the one
> from Jeff Friedl's "Mastering Regular Expressions." The code examples
> are available online at:
>=20
> http://www.regex.info/listing.cgi?ps=3D213&pe=3D220

Thanks Adam, I'll check this too.

H


>From hans not junk at nyphp.com  Sat Feb 28 01:03:07 2004
Return-Path: <hans not junk at nyphp.com>
Received: from ehost011-1.exch011.intermedia.net (unknown [64.78.21.3])
	by virtu.nyphp.org (Postfix) with ESMTP id 1DC94A8627
	for <talk at lists.nyphp.org>; Sat, 28 Feb 2004 01:03:07 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] No, really, please don't use vacation autoresponders.
Date: Fri, 27 Feb 2004 22:03:04 -0800
Message-ID: <41EE526EC2D3C74286415780D3BA9F87AA66FA at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] No, really,
	please don't use vacation autoresponders.
Thread-Index: AcP9il+oM8jH3ireSFGk4DKTobSgAgANfTaA
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.2
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: Sat, 28 Feb 2004 06:03:07 -0000

=20

> -----Original Message-----
> From: talk-bounces at lists.nyphp.org=20
> [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Chris Shiflett
> Sent: Friday, February 27, 2004 6:35 PM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] No, really, please don't use=20
> vacation autoresponders.
>=20
> --- Daniel Convissor <danielc at analysisandsolutions.com> wrote:
> > Anyway boys and girls, there are several ways to avoid this=20
> situation:
> >=20
> > 1) Set up your auto-responder to not send responses to=20
> mailing lists=20
> > you're on.
> >=20
> > 2) Unsubscribe from mailing lists while you're gone.
> >=20
> > 3) Don't use auto-responders.
>=20
> 4) Get the list administrator to not mangle the Reply-To header.
>=20
> Sorry Hans, I couldn't pass up the opportunity. :-)

That's ok... it'd have no effect in this case since the replies are =
going to the individual, and not the list  :)

H


>From hans not junk at nyphp.com  Sat Feb 28 01:04:40 2004
Return-Path: <hans not junk at nyphp.com>
Received: from ehost011-1.exch011.intermedia.net (unknown [64.78.21.3])
	by virtu.nyphp.org (Postfix) with ESMTP id 79939A85F0
	for <talk at lists.nyphp.org>; Sat, 28 Feb 2004 01:04:40 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] soon to be father
Date: Fri, 27 Feb 2004 22:04:37 -0800
Message-ID: <41EE526EC2D3C74286415780D3BA9F87AA66FB at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] soon to be father
Thread-Index: AcP9p5/vd7N9HKH2Q0uodXNwouV8SgAGPzZQ
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.2
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: Sat, 28 Feb 2004 06:04:40 -0000


> hey everyone
>=20
> I'm going to be a father!!!!
> the due date is in october

Congrats Dan!  Best wishes.

Hans "how-many-list-replies-in-10-minutes" Zaunere

H



More information about the talk mailing list