Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 8th, 2005, 4:12 PM   #1
layer
Hobbyist Programmer
 
Join Date: Feb 2005
Posts: 112
Rep Power: 4 layer is on a distinguished road
Question HTML: Outputting files

Hey guys, so heres the story... I've been setting up my own server, using AutoIt. But for now, I had to down the server because it is unsecure... I need a seperate computer, that is firewalled, with no network interaction besides the server, etc. So I've also made a tool, in AutoIt, that helps you develop web pages. I made a very simple web page. And I will be adding an edit control and a button. It will be one of those "tell me what you think of this site" things. So once I get the button, and edit control, this is what I want to happen. When somone hit's the submit button, I need a file to be written to god knows where that has the contents of what the user typed in the edit control. Now since my site will be on a regular computer, I don't know where or how I will write the file to. And I just wanted to know if this is possible, and how...

Thanks,

layer
layer is offline   Reply With Quote
Old Jul 8th, 2005, 4:35 PM   #2
skuinders
Hobbyist Programmer
 
skuinders's Avatar
 
Join Date: Jun 2005
Location: MA, US
Posts: 204
Rep Power: 4 skuinders is on a distinguished road
windows? *nix?

either way you will need to use more than html
__________________
"A stupid man's report of what a clever man says can never be accurate, because he unconciously translates what he hears into something he can understand."
- B. Russell

http://web.bryant.edu/~srk2
skuinders is offline   Reply With Quote
Old Jul 8th, 2005, 7:41 PM   #3
layer
Hobbyist Programmer
 
Join Date: Feb 2005
Posts: 112
Rep Power: 4 layer is on a distinguished road
windows..
layer is offline   Reply With Quote
Old Aug 31st, 2005, 9:32 AM   #4
mackenga
Professional Programmer
 
Join Date: Mar 2005
Location: Glasgow, Scotland
Posts: 328
Rep Power: 4 mackenga is on a distinguished road
You need to learn about server-side scripting first. When the user enters text into a form on the web, they can submit it to a server side script on your machine. Your server runs the script, passes it the information submitted, and then your program can to whatever it wants with that data (like, for example, appending it to a file inside or outside your website's tree on your server box).

Do do server-side programming, if you've programmed before (sounds like, not extensively from your post) I recommend CGI scripting in Perl, and if not (especially if you've done a bit of HTML but not much if anything more) then PHP is probably a better starting point.

Best of luck.
mackenga is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:39 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC