Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:24244 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46087 invoked by uid 1010); 3 Jul 2006 12:39:39 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46071 invoked from network); 3 Jul 2006 12:39:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jul 2006 12:39:39 -0000 X-PHP-List-Original-Sender: sesser@php.net X-Host-Fingerprint: 81.169.145.170 natlemon.rzone.de Solaris 10 (beta) Received: from ([81.169.145.170:35793] helo=natlemon.rzone.de) by pb1.pair.com (ecelerity 2.1.1.3 r(11751M)) with ESMTP id 98/5B-13848-30019A44 for ; Mon, 03 Jul 2006 08:39:34 -0400 Received: from [192.168.1.77] (p508778EF.dip.t-dialin.net [80.135.120.239]) by post.webmailer.de (8.13.6/8.13.6) with ESMTP id k63CdPkp015680 for ; Mon, 3 Jul 2006 14:39:26 +0200 (MEST) Message-ID: <44A90FFD.2020200@php.net> Date: Mon, 03 Jul 2006 14:39:25 +0200 User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: PHP internals X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: [PATCH] FILE UPLOAD HOOKs From: sesser@php.net (Stefan Esser) Hello, it was requested several times, that PHP allows FILE UPLOAD hooks. Attached is the URL to a patch against PHP_5_2 that I am going to commit in 3-4 days. If you see any problems in it, then speak up. I tried to combine the best ideas from the existing patches and combined it with what I need. Stefan PATCH URL: http://www.suspekt.org/patches/fileupload_hook.diff