Re: cvs: phpdoc /en/reference/filesystem/functions is-uploaded-file.xml

From: Date: Mon, 14 Feb 2005 18:18:50 +0000
Subject: Re: cvs: phpdoc /en/reference/filesystem/functions is-uploaded-file.xml
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969366589@lists.php.net to get a copy of this message
+if (is_uploaded_file($_FILES['userfile']['tmp_name'])) {
I think this check is superfluous. $_FILES['userfile']['tmp_name'] always contain an uploaded file.
Well, not if some maliciosly included code dealt with the files array before... But then that maliciosly included code would be able to do anything anyway :) Goba

« previous php.doc (#969366589) next »