Forum Moderators: open

Message Too Old, No Replies

Form Data

         

windracer24

7:08 pm on Dec 15, 2004 (gmt 0)



I am sure this has been answered before, but I am new here, so I am asking.

I put one text input box on my webpage, but since I dont have a frontpage server, I cant use the save data bot to save the data. I need to have the data appended to a text file on the webserver when the user presses submit with a results page. How do I do this?

rocknbil

2:31 am on Dec 16, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You'll need to use some server-side program such as perl or php, and assign write appropriate permissions to the specific file (best) or directory (ok, but not as safe.)

The specifics are easy if you know the programming, do you have a preference?

I **think** you can do this with asp pages (can't remember, so long since I've been forced to use it.) Dig around the perl or php forums for writing to files and flat text databases and you'll find what you seek.

lZakl

2:36 am on Dec 16, 2004 (gmt 0)

10+ Year Member



You can do this with ASP pages if you are running a Windows Server. However better options (in my opinion) would be, like rocknbil said, PERL or PHP. ASP, however can read and write to text files quite easily.