Need CSV Plugin Created (Willing to Pay)

I am wanting the user to upload a csv file and have it imported into a data type. Thats normally no problem however it has 3 lines of data in the csv by default. So i need to first remove those 3 lines of data and then upload the rest.

I have done this with php / codeigniter in the past but have no idea how to approach this in Bubble. Any help is appreciated.

Recap:
User Uploads CSV and hits submit.
Bubble removes 3 lines of csv upload
Bubble takes each line and adds it to the app data

Thanks in advance.

this is what i did in codeigniter a few years agao :slight_smile:

	function delxlines($txtfile, $numlines=3)
	{
		if (file_exists("temp.txt"))
		{
			unlink("temp.txt");
		}

		$arrayz = file("$txtfile");
		$tempWrite = fopen("temp.txt", "w");
		for ($i = $numlines; $i < count($arrayz); $i++)
		{
			fputs($tempWrite, "$arrayz[$i]");
		}
		fclose($tempWrite);
		copy("temp.txt", "$txtfile");
		unlink("temp.txt");	
	}