468,316 Members | 1,981 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,316 developers. It's quick & easy.

Beginner's Filehandling problem

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
8 1264
eWish
971 Expert 512MB
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
itmm
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
174 Expert 100+
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
174 Expert 100+
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
itmm
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
4,059 Expert 2GB
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
itmm
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
4,059 Expert 2GB
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.

Similar topics

3 posts views Thread by jvax | last post: by
3 posts views Thread by TVS | last post: by
18 posts views Thread by mitchellpal | last post: by
3 posts views Thread by mikeisgreat | last post: by
3 posts views Thread by maabar | last post: by
10 posts views Thread by Roman Zeilinger | last post: by
4 posts views Thread by neha_chhatre | last post: by
22 posts views Thread by ddg_linux | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.