Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-11-2006, 01:32 AM   #1
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Rep: Reputation: 15
HTML form to read/write from local file

i have been googling around for this without much success. At this point I don't even know if it's possible. I want to create a feedback page on my website where a guest can enter their name in one textbox, and fill out comments/suggestions in another textbox. When they press the button I would like it to write to a local file in the same directory that the page is being hosted, as opposed to being mailed to some address. Could Anyone tell me how to do this, or even point me to a link describing this? Thanks in advance!

I don't' suppose there would be something similar to echo $user >> ./file.txt
echo $comments >>./file.txt ??

Last edited by mustangfanatic01; 03-11-2006 at 01:36 AM.
Old 03-11-2006, 08:23 AM   #2
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 31
This is not possible in pure HTML. You will have to use PHP or some other server-side programming language to do this.
Old 03-11-2006, 04:29 PM   #3
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
Ok thanks!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP: Read html file, diplay result kenneho Programming 10 02-17-2006 09:33 AM
Html Form File Cottsay General 0 11-05-2005 02:30 PM
read/write in *.MDB (MS-Access file) form Linux FC3 thuan1975 Linux - Software 1 08-11-2005 02:25 AM
How can i read an write to a HTML or xml file using C alix123 Programming 1 11-24-2004 06:07 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 08:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration