Odd finding while researching $_FILES

From: Date: Wed, 16 Oct 2002 14:28:22 +0000
Subject: Odd finding while researching $_FILES
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-120197@lists.php.net to get a copy of this message
Without going into the process of how I came to do this, I just wanted to throw out there that even if you only have 1 file input, it still seems to loop 5 times... Is this something with my code... -- $current = 0; while (list($key) = each($_FILES['picname'])) { echo $current; $current++; } -- ...or is there something freaky going on with the $_FILES array? -J

« previous php.general (#120197) next »