Re: [PHP] Automated data upload for customers

2005-08-19 Thread Richard Lynch
On Fri, August 19, 2005 7:45 pm, Jasper Bryant-Greene wrote: >>>If other file formats are possible as well as CSV, you might like to >>>look at the PEAR "File Formats" packages[1]. >> >> Now TAB delimited is generally easier than CSV as it IS as simple as >> reading a line and explode() on "\t" > >

Re: [PHP] Automated data upload for customers

2005-08-19 Thread Jasper Bryant-Greene
Richard Lynch wrote: On Fri, August 19, 2005 3:47 pm, Jasper Bryant-Greene wrote: For CSV, it's as simple as explode() the data by "\n" (perhaps strip out any "\r" before you start) and then explode() by ",". Depending on the software they're using, you might also need to remove any delimiters o

Re: [PHP] Automated data upload for customers

2005-08-19 Thread Richard Lynch
On Fri, August 19, 2005 3:47 pm, Jasper Bryant-Greene wrote: > Brian Dunning wrote: >> I have a system where I'm trying to facilitate a process for >> customers >> to upload data to me (basically a list of people), and have it go >> into >> a database. I can give them certain parameters, like it

Re: [PHP] Automated data upload for customers

2005-08-19 Thread Jasper Bryant-Greene
Brian Dunning wrote: I have a system where I'm trying to facilitate a process for customers to upload data to me (basically a list of people), and have it go into a database. I can give them certain parameters, like it has to be a CSV file, delimited in such a way, etc. but can't ask much m

[PHP] Automated data upload for customers

2005-08-19 Thread Brian Dunning
I have a system where I'm trying to facilitate a process for customers to upload data to me (basically a list of people), and have it go into a database. I can give them certain parameters, like it has to be a CSV file, delimited in such a way, etc. but can't ask much more of them than that