I'm having a problem with $_FILES, I have a form which refreshs its self display all the data which was entered by the user, the user may unload one picture for there profile on submit click the picture uploads fine and is stored into a folder the problem I have is that if the user presses the f5 the fresh button the picture is added again to the folder, what i would like to know is there a way of stopping this, I have been working with some code and nothing seems to work
move_uploaded_file($_FILES["file"]["tmp_name"],$url . $_SESSION['server_side']['sexdropbox'] . "-"
. time() . "-" . $_FILES["file"]["name"]);