By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,852 Members | 2,259 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,852 IT Pros & Developers. It's quick & easy.

Beginner's Filehandling problem

P: 4
I have a HTML file with a TEXTAREA and a SUBMIT button.

I want to APPEND the text to a textfile, which I can inspect at a later date.

Can anyone help with this?
Oct 26 '08 #1
Share this Question
Share on Google+
8 Replies


eWish
Expert 100+
P: 971
open the file for saving in the append mode. Also, be sure to sanitize or untaint your data before writing it to file. What have you tried?

--Kevin
Oct 26 '08 #2

P: 4
Hi Kevin,

I'm VERY new at this. I'm reasonably adept at VBA programming, but this is completely new to me.

I basically need the code. I understand the concepts.

Here's the URL of the page in question.
http://itmm.dk/inputtest.html

If the user ckicks the SEND button, the text has to be appended to a text file

Hope you can help

Trevor
Oct 28 '08 #3

Icecrack
Expert 100+
P: 174
Hi Kevin,

I'm VERY new at this. I'm reasonably adept at VBA programming, but this is completely new to me.

I basically need the code. I understand the concepts.

Here's the URL of the page in question.
http://itmm.dk/inputtest.html

If the user ckicks the SEND button, the text has to be appended to a text file

Hope you can help

Trevor

Trevor well i think that if you want that code you should offer money and place it in the jobs Section, put a clear title of perl programmer needed, as people get paid for what you would like them to do.

now you can attempt this your self and we will be glad to help you.
Oct 28 '08 #4

Icecrack
Expert 100+
P: 174
Also Take a look at
http://affy.blogspot.com/p5be/ch01.htm

for a good perl resource.

look up CGI, USING FILES, and form processing.
Oct 28 '08 #5

P: 4
Trevor well i think that if you want that code you should offer money and place it in the jobs Section, put a clear title of perl programmer needed, as people get paid for what you would like them to do.

now you can attempt this your self and we will be glad to help you.
Problem solved. I found some scraps of code and some tips on tutorial pages and was able to patch it all together and it works.

Thanks for your response.

(I admit it's a bit cheeky expecting to get someone to spend their valuable time doing my coding.)
Oct 29 '08 #6

KevinADC
Expert 2.5K+
P: 4,059
Problem solved. I found some scraps of code and some tips on tutorial pages and was able to patch it all together and it works.

Thanks for your response.

(I admit it's a bit cheeky expecting to get someone to spend their valuable time doing my coding.)
I hope you found some secure code to do that.
Oct 29 '08 #7

P: 4
I hope you found some secure code to do that.
I've found http://affy.blogspot.com/p5be/ch00.htm & I'm working my way through it.
Oct 29 '08 #8

KevinADC
Expert 2.5K+
P: 4,059
OK, post your code if you get stuck or need some suggestions or further advise.
Oct 29 '08 #9

Post your reply

Sign in to post your reply or Sign up for a free account.