Re: HELP: I need a perl-cgi script: html form data --> comma delimited text
Posted in 1997
Topics: General Discussion
In article <3416CEA9.41680B0C@bitspersecond.co.uk>, Alec Waters <awaters@bitspersecond.co.uk> wrote: >This is a multi-part message in MIME format. >--------------3BA4C0DF6D80014E3263E474 >Content-Type: text/plain; charset=us-ascii >Content-Type: text/plain; charset=us-ascii >Content-Transfer-Encoding: 7bit >Content-Transfer-Encoding: 7bit > >BURVAL wrote: >> I am looking for a (simple I hope) perl-cgi script that will take >> values >> from multiple fields in an html form and append (add) them to a single >> >> server residing text database file, where commas separate the values, >> making the data readily importable to Excel as comma delimited text. dbedit is a web--database system that works on tab separated ascii and lets you append, delete, modify rows. The source code is included and freely redistributable so that you might be able to use the library routines, even if you don't use the main package. Look at http://admin.gnacademy.org:8001/tech/dbedit/dbedit/dbedit.html In particular the routines DBstorage::RDB (which takes a perl has table and stores it in a tab separated file) and CGI.pm which reads a an http request into a hash table. -- ------------------------------------------------------------------------------- Joseph Wang Globewide Network Academy joe@mit.edu FREE Distance Education catalog database http://www.gnacademy.org Thousands of Courses and Programs