LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-11-2006, 12:32 AM   #1
mustangfanatic01
Member
 
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 12:36 AM.
 
Old 03-11-2006, 07:23 AM   #2
AdaHacker
Member
 
Registered: Oct 2001
Location: Brockport, NY
Distribution: Kubuntu
Posts: 384

Rep: Reputation: 32
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, 03:29 PM   #3
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
Ok thanks!
 
  


Reply


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 08:33 AM
Html Form File Cottsay General 0 11-05-2005 01:30 PM
read/write in *.MDB (MS-Access file) form Linux FC3 thuan1975 Linux - Software 1 08-11-2005 01:25 AM
How can i read an write to a HTML or xml file using C alix123 Programming 1 11-24-2004 05:07 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:53 AM.

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