php - Validation of tab delimited csv file -
I have a page where I ask users to upload a CSV file separately from the tab. But how do I ensure that a different CSV file has been uploaded from the tab, I need PHP verification. Can anyone help? thank you in advanced.
In addition to common security measures in uploading files to PHP, try parsing it in the form of CSV In; If this is successful, then it is valid. The one thing you want to look for is a file that is too large and your app can eat a lot of memory.
Comments
Post a Comment