PDA

View Full Version : Populating form fields from URL encoded data pairs in txt file


sergiozambrano
07-13-2007, 06:19 AM
What is the best way to populate an HTML form with URL encoded data pairs saved in a text file? -flash variables e.g.: data1=value1&data2=value2…

CGI? Javascript? Although it would be pretty fast in flash, I'd like to know expert opinions from they who know all flash, CGI and JavaScript languages.

Some people from codingforums helped me to build a CGI that saves several txt files with data to be read in flash, and I'd like the same form to read and write the saved data. It would be a read-write form, like a terminal for viewing/editing the files.

The original way to upload the information is a flash file invoking the cgi, but it only saves one at a time, but you can't 'browse' all the pages/txtfiles.

Opinions?

Thanks.