First you need to identify what makes a file unique. Is it the contents of a row? a set of rows? a row ID? Second, you need to write code to query your existing database to see if your uploaded file has already been added (run a SELECT to see if the rows you are about to add have already been added).
Adding rows to a database from an uploaded CSV file is not a typical CakePHP project. It can be done. Actually it's on my someday/maybe ToDo list. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/d/optout.
