Gabor Hojtsy wrote:
+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


is_uploaded_file is a register_globals artifact, and shouldn't need to be used with the $_FILES array.


S

Reply via email to