How to validate CSV file of only one column before getting uploaded

I'm going with no since PHP is usually not on the client side so the upload happens then you on the server side run your PHP script to do the testing before you use it or apply it to some database.

http://php.net/manual/en/function.str-getcsv.php seems a good start.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.