br00n
|
| Posted: 02/14/2003, 9:02 PM |
|
Ok, so I've had CCS for all of an afternoon. I rebuilt a part of an application that I have in ColdFusion in PHP w/templates and I get to a point where I need to upload a CSV (Comma separated value) file to the server...which I then need to read, parse and add each line to a table in the database...
In CF I wrote this in 15 minutes. It took me 15 minutes to realize that there's no 'file' form field type in the GUI of CCS (or at least none that I could find) If someone would be so kind as to point the way it would be much appreciated.
How do I go about doing the following in CCS?
1. upload the file using PHP4 to the server.
2. read the file (that is now on the server)
3. parse it and insert the records into a table in the database...
4. display a confirmation page to the user that there were 'x' number of records inserted into the table?
In need of help.
Byron
|
|
|
 |
Ken
|
| Posted: 02/16/2003, 9:50 PM |
|
There are several examples of file/picture uploading here:
http://www.kabwebs.com/ccsniplets/index.php
If you need further help email me atadmin@kabwebs.com
|
|
|
 |
|