Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 26th, 2007, 7:11 PM   #1
Micskill
Newbie
 
Join Date: Nov 2007
Posts: 1
Rep Power: 0 Micskill is on a distinguished road
text files auto imported into fields

Does anybody know of some software that can take a comma-delimmited text file and import it into a browser with blank fields?

example, a text file that has a list of someone's first name, last name, address, and phone number and put it on an existing website that has blank fields for the above information?

Sorry if this isn't the right forum for this question, I know it isn't exactly a programming question
Micskill is offline   Reply With Quote
Old Nov 26th, 2007, 9:24 PM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,886
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Re: text files auto imported into fields

You shouldn't need any software. It's a fairly simple task to do in any server-side scripting language. You can probably find snippets for it all around the Internet.

For example, in PHP... open the file with $my_string = file_get_contents("my_file.txt"), read it in line by line, then split each line into an array of fields with $fields = explode(",", $line), then display it however you feel.
Sane is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
using Text fields in SWT elford Java 4 Dec 27th, 2005 12:38 PM
Using Text Files... ViOLATiON Visual Basic 13 Oct 27th, 2005 5:24 PM
Resizing fields to match text Arla C# 3 Aug 4th, 2005 1:56 PM
Repetitive replacing sections of text files Novice Other Scripting Languages 2 Jun 17th, 2005 9:07 AM
Adding Info In Text Files Dark Flare Knight Java 41 May 23rd, 2005 11:33 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 3:19 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC