473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

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

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

Similar topics

3
by: jvax | last post by:
Hi all, I hope I'm posting in the right NG... I have a data text file I want to read from a c++ program. the data file goes like this: 90 # number of balls 33 42 13
3
by: TVS | last post by:
file handling in c++ using ifstream and ofstream is creating a problem when i wanted to write to a file using <ofstream>.write() member function. When I try to retrieve it back using an read()...
18
by: mitchellpal | last post by:
Hi guys, am learning c as a beginner language and am finding it rough especially with pointers and data files. What do you think, am i being too pessimistic or thats how it happens for a beginner?...
3
by: mikeisgreat | last post by:
Hi, I am pretty new to php and have a few questions. I am creating an Apache admin tool for some less "linux-able" users at my job. My tool needs to be able to 'restart' apache on 3 different...
3
by: maabar | last post by:
Hi, Can you please help with this.. I need to develop a program that involves two classes: FileHandling and DataProcessing. I have developed header files and implementation for both classes i.e....
20
by: weight gain 2000 | last post by:
Hello all! I'm looking for a very good book for an absolute beginner on VB.net or VB 2005 with emphasis on databases. What would you reccommend? Thanks!
5
by: macca | last post by:
Hi, I'm looking for a good book on PHP design patterns for a OOP beginner - Reccommendations please? Thanks Paul
10
by: Roman Zeilinger | last post by:
Hi I have a beginner question concerning fscanf. First I had a text file which just contained some hex numbers: 0C100012 0C100012 ....
4
by: neha_chhatre | last post by:
i have a wierd problem...iam not able to understand wat is goin wrong...i have written a code which reads the values form a text file (it contains lot of values like time=1.147279,value=240.66 and...
22
by: ddg_linux | last post by:
I have been reading about and doing a lot of php code examples from books but now I find myself wanting to do something practical with some of the skills that I have learned. I am a beginner php...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.