|
-
Jan 18th, 2001, 12:01 AM
#1
Thread Starter
Lively Member
Hi All,
I need to create a simple web form that can be ran in most web browsers.
What it has to do is write a simple text file to an sub directory call "txt" on the server where it's hosted.
It has two text boxes one text box will allow you to make a name for the file and the other text box will be the actual text in the file.
How would I got about doing this, I'm a begginer in this area and any help would be greatly appreciated!
A Javascript solution would be preffered but anything similar will do.
Thanks! 
Best Regards,
Ben Smith.
-
Jan 18th, 2001, 08:12 AM
#2
Black Cat
What you need to do is write a script/program that runs on the server that will handle the data incoming from the form. You can use JScript or VBScript if your server is running ASP, usually available on a Windows server. If your server is running Unix, you'll have to use PHP or CGI with Perl depending on what's installed. Allowing the user to pick the name of the file can be a security risk on Unix - it's possible to add shell commands to the end of the filename.
Josh
-
Jan 18th, 2001, 05:05 PM
#3
Thread Starter
Lively Member
Ok
So what your saying is I should make a basic web form and when you click on submit/send it activates the javascript code which sez where the text file should go etc?
If so, where should I start?
Thanks.
Ben
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|