|
output to txt file
I am working on a small assignment for a class where I need to have 2 inputs (name text, and message textbox), then store this data in a "forum" type of setting.
I have this working exactly how I want it in PHP, however the server I must host it on does not allow PHP script so I am being forced to convert this over to javascript.
I want it so the user inputs their fields, then those fields are added to a (already created) txt file with | as the field seperator. From there I have no problems reading the file and outputting the data as I wish, however I have not been able to find a cross-browser solution to adding the submitted data to the txt file.
example:
name: bob
message: test message
in txt file, output to >>>
bob|test message
Any help would be greatly appreciated.
|