»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 04-02-2004, 12:07 AM   #1 (permalink)
Registered User
 
Join Date: Sep 2002
Location: Shirley, New York
Posts: 183
Paluccie is on a distinguished road
Send a message via AIM to Paluccie

Ok I'm trying to have a web page where I can have a name box and then a submit button. I want the submit button to add the name to a separate web page and add a counter.

Ex.

Box = type name --- Ralph
Submit button

next page shows

1. Ralph


When run again with name Steve the page will show

1. Ralph
2. Steve


any ideas on how to do this let me know thanks.

Paluccie is offline   Reply With Quote
Old 04-03-2004, 09:46 AM   #2 (permalink)
Registered User
 
Join Date: Nov 2001
Location: Central KS
Posts: 256
bwcc is on a distinguished road
So, you are looking at permanently storing the data from the form on the server.

PHP does this quite easily if you are familiar with that program. Of course, any dbase program will store your info, but if you're only looking at a minut amount of data, it might be overkill.
bwcc is offline   Reply With Quote
Old 04-03-2004, 03:36 PM   #3 (permalink)
Registered User
 
Join Date: Sep 2002
Location: Shirley, New York
Posts: 183
Paluccie is on a distinguished road
Send a message via AIM to Paluccie
basically what I'm trying to do is have a survey online. I want people to, if they agree to it sign the box and then hit a submit button, which will add their name to the list. BUT, be able to see the names of those who also agree with it. EX again


Survey here

Sign here ----box
Submit button


1) Ralph
2) James
3) Paul
4) Tom
5) Larry
etc. etc. etc.

When they hit the submit button it adds their names to the list as well.
Paluccie is offline   Reply With Quote
Old 04-03-2004, 04:15 PM   #4 (permalink)
Registered User
 
Join Date: Nov 2001
Location: Central KS
Posts: 256
bwcc is on a distinguished road
How is your form being processed? Meaning - when they click on 'Submit' where is the information going to?

What you're going to need is coding to write the survey form data to a file. That file can store the names of the users that take your survey - although I would make it optional for the user. Upon completing the survey, the coding would write their name to the file, as well as read the existing contents of the file and print out the results to the browser.

Do you host your own web server or is it hosted?
bwcc is offline   Reply With Quote
Old 04-03-2004, 11:50 PM   #5 (permalink)
Registered User
 
Join Date: Apr 2004
Posts: 3
af11k is on a distinguished road
As mentioned above this can be easily done with server side programming...
Are you running your pages on a Linux, Unix, Windows server?
Depending on that you can use ASP, PHP, JSP, etc. to achieve what you need...
If you provide more info someone here can even post the code.
af11k is offline   Reply With Quote
Old 04-04-2004, 01:42 AM   #6 (permalink)
Registered User
 
Join Date: Sep 2002
Location: Shirley, New York
Posts: 183
Paluccie is on a distinguished road
Send a message via AIM to Paluccie
i'm going to be hosting the web page through my own web server, running windows 2000 server. haven't decided on where the information is going to be going, reason for the advice on how to go about doing this.
Paluccie is offline   Reply With Quote
Old 04-04-2004, 09:57 AM   #7 (permalink)
Registered User
 
Join Date: Apr 2004
Posts: 3
af11k is on a distinguished road
If you take the text file option, here are some examples, watch for permissions...

http://www.devasp.com/samples/writetofile.asp
http://support.microsoft.com/default...;en-us;q300982
http://nuts4asp.com/tutorials/WriteFile/index.asp
af11k is offline   Reply With Quote
Reply




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
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 03:46 PM.