I had to rebuilt some of my code yesterday because the hosting service had only PHP 3.0.6 installed and I used the nifty CSV function fgetcsv() to extract content from a CSV spreadsheet into a WAP site.
When I realized the version compatability touble I tried to make my own faked fgetcsv() in PHP.
What I did was the I used fgets() and I looked for , commas to separate "columns".
The problems is if you enter a , comma in a column, my faked code doesn't cope for that.
Is there anyone out there who has solved this problem before, with a solid function or method?