Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39492 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53753 invoked from network); 31 Jul 2008 06:06:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jul 2008 06:06:07 -0000 Authentication-Results: pb1.pair.com header.from=dante@lorenso.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=dante@lorenso.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lorenso.com from 72.249.142.200 cause and error) X-PHP-List-Original-Sender: dante@lorenso.com X-Host-Fingerprint: 72.249.142.200 mail.larkspark.com Linux 2.6 Received: from [72.249.142.200] ([72.249.142.200:50308] helo=mail.larkspark.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C1/10-60033-D4651984 for ; Thu, 31 Jul 2008 02:06:05 -0400 Received: from 99-147-139-38.lightspeed.allntx.sbcglobal.net ([99.147.139.38] helo=[192.168.1.67]) by lark01.larkspark.colo with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1KORIY-0002zj-Dp; Thu, 31 Jul 2008 01:06:02 -0500 Message-ID: <48915639.9060506@lorenso.com> Date: Thu, 31 Jul 2008 01:05:45 -0500 User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: "Tore B. Krudtaa" CC: internals@lists.php.net References: <758739.49501.qm@web52606.mail.re2.yahoo.com> In-Reply-To: <758739.49501.qm@web52606.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Making PHP upload hooks available through session variables? From: dante@lorenso.com ("D. Dante Lorenso") Tore B. Krudtaa wrote: > I would like to be able to use the upload hooks without installing the APC. > I would eventually like to be able to use those upload hooks using session variables. Maybe you can avoid the problem entirely. I was using the uploadprogress PECL extension (which I believe also leveraged the 5.2 hooks) for a year or so until I found this upload progress meter written using Flash and Ajax: http://digitarald.de/project/fancyupload/ If you follow the mailing archives, there's been great debate whether a feature like upload progress monitoring belongs in PHP (server side) or in your browser (client side). I like server-side control, but after experiencing the Fancy Upload 2 embedded into my current web project, I love it and have no reason to go back to the "old" PHP-way. FU2 (not my acronym) does require Flash 9, but my site already makes this dependency. If you can accept those reqs, FU2 also supports multiple file uploads and can give progress feedback for all files as a whole. -- Dante