php - file uploads using uploadify
问题 I'm having problems with uploadify. Whenever I use a string in the $post_id, uploadify only uploads a single file when I've selected 3 files for upload. But when I specify a non-existing value for $post_id such as a session variable that doesn't exist $_SESSION['something']. It inserts all three of the files into the database. I'm thinking that this might be an error on the data structure of $post_id. if(!empty($_FILES)){ $post_id = 'aa'; $name2 = mysql_real_escape_string($_FILES['Filedata'][