You are here: Re: How to load a CSV/TXT file in a textarea? « HTML « IT news, forums, messages
Re: How to load a CSV/TXT file in a textarea?

Posted by Steve Pugh on 03/25/06 16:24

Martin Pöpping <martin_p@despammed.com> wrote:

>I want to load a csv-file to a textarea field.

Textareas are for the input of text content, you would need to copy
and paste the contents of the csv file into the textarea. To upload a
csv file, or any other sort of file, there needs to be a <input
type="file"> instead.

If you're talking about displaying the contents of a csv file then
forget all about form inputs and either simply link to the csv file:
<a href="myfile.csv">Blah blah blah</a>,
or parse the contents of the csv file on the server and include that
in the ouput HTML,
or load the csv file into an iframe and test to see whether browsers
display it (as its plain text there's a good chance they will).

>Is it possible to do that only with HTML?
>Or do I need f.e.?

What's f.e.?

Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация