<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div><br></div><div>I'm looking for some help with a module that I'm making.</div><div><br></div><div>I have a form that uploads a file. When a file is uploaded I save the details (filename etc) in a database. I don't need drupal to save any file references for me. What I'm having problems with is, if a file has already been uploaded, ask the user "are you sure you want to proceed, this will override your previous your old file".</div><div><br></div><div>What I have so far is&nbsp;<a href="http://pastebin.com/DNm84jUR" target="_blank" style="font-size: 12pt;">http://pastebin.com/DNm84jUR</a></div><div><br></div><div>Any help would be appreciated.</div>                                               </div></body>
</html>