|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I was wondering if anyone knew of a host who'd let you upload a text file to populate a MySQL database? Or if anyone knows how to do this without having admin rights?
|
|
#2
|
|||
|
|||
|
If the server happens to have PHP on it as well, check out phpMyAdmin - it's a web-based tool for managing a MySQL DB and a lot of web hosts have it installed.
If not, how about uploading the text file to the server, and then writing a ColdFusion script to read it (CFFILE action="read"), CFLOOP (using newline, either #Chr(13)# or #Chr(10)# as a delimiter) to move through the file line-by-line and then CFINSERT to populate your table? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > CF Host - MySQL and Text Files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|