CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 CCS file upload in a form

Print topic Send  topic

Author Message
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

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.