Re: cvs: php4 /ext/standard basic_functions.c file.c file.h /main SAPI.c

From: Date: Fri, 08 Sep 2000 23:05:28 +0000
Subject: Re: cvs: php4 /ext/standard basic_functions.c file.c file.h /main SAPI.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-1649@lists.php.net to get a copy of this message
On Fri, 8 Sep 2000, Rasmus Lerdorf wrote: > > > And when you use move_uploaded_file() what happens when the upload > > > destructor function goes to unlink the file at the end of the request? > > > > unlink() will fail..? > > Right, what I meant was, shouldn't move_uploaded tell the destructor to go > away? I don't see any good reason for that. Considering you added the automatic unlink() at a very late stage, I'm sure (hope) most scripts before that took the responsibility of deleting these uploaded files themselves, which is essentially the same... Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.cvs (#1649) next »