title: php check if file exist
body: <p>can someone guide me on how to do checking to tell if file already exist in database or not before we upload it?</p>
  
  <p>i wanna upload a file into database, but before it save, i want to check whther file already exist first. if yes then dont do the insert execution.</p>
  
  <p>i used this <a href="http://www.php-mysql-tutorial.com/wikis/mysql-tutorials/uploading-files-to-mysql-database.aspx" rel="nofollow noreferrer">reference</a> on uplaoding a files.</p>
  
  <p>thank you very much.</p>