Any ideas about this would be great...I'm running a for loop that uploads some files through a POST form. During the loop I check to see if a file with that name already exists. No problem so far....If I find a name match, I want to interrupt the loop with a prompt that says there is a conflict and asks the user if they want to overwrite the file or skip it. Upon selection, I need the for loop to continue. Should this be a javascript thing? If so I need to pass a "flag" from the javascript to PHP so I can deal with the users selection accordingly. ANyone have thoughts on the best way to accomplish this?