LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   HTML form to read/write from local file (https://www.linuxquestions.org/questions/linux-software-2/html-form-to-read-write-from-local-file-423718/)

mustangfanatic01 03-11-2006 12:32 AM

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 ??

AdaHacker 03-11-2006 07:23 AM

This is not possible in pure HTML. You will have to use PHP or some other server-side programming language to do this.

mustangfanatic01 03-11-2006 03:29 PM

Ok thanks!


All times are GMT -5. The time now is 10:22 PM.