| | |
A question on java script?(Please answer ASAP)
![]() |
Hi I just started a new website kind of lame but that will be picked up soon.Ok here is the question did not know where to post it so I am posting it here.It is this:
I am trying to make a users immmm how to called it comment box.You write your comment and by using java script it will send the written stuff to a text file (which is on the server side).I would be very happy if you helped.I have some ideas like using frames but I just can't get the things written in the text area in to the text file (notepad).Ah yeah I forgot my site is www.johnroach.edu.tc
I am trying to make a users immmm how to called it comment box.You write your comment and by using java script it will send the written stuff to a text file (which is on the server side).I would be very happy if you helped.I have some ideas like using frames but I just can't get the things written in the text area in to the text file (notepad).Ah yeah I forgot my site is www.johnroach.edu.tc
"By the data to date, there is only one animal in the Galaxy dangerous to man—man himself. So he must supply his own indispensable competition. He has no enemy to help him."
From Time Enough for Love by Robert A. Heinlein
From Time Enough for Love by Robert A. Heinlein
Well, there are alternatives. You could use ASP, or PHP. I can code you a CGI that does it easily. You could use the javascript to open a mail window with their default mail client, with the information set up in the body of the e-mail (this is, however, frowned upon, as not all people actually use mail clients in favor of webmail).
Well, CGI stands for "common gateway interface". Most of the time, when people refer to it, it is regarding the "Perl" programming language. This doesn't have to be the case... however. A Bash Script, or C program can be a CGI. A CGI is namely just a program that the web server runs, and then the program spits out web page information to the surfer. It can do a number of things, however. Such as sending you e-mail, saving log files.... etc, etc. ASP is the same thing, only it uses a visual basic type of syntax to do it's thing. Ask your ISP (or whoever your web page is being hosted by) what type of server side scripting they have available. They may give you a huge list, or they may say "oh, we just have PHP." Either way, we can give you a hand here at Daniweb.
Do it in ASP. There are certainly free ASP's on the web that can do what you want. You want them to be able to enter certain information (survey questions or whatever) and have them e-mailed to you? Or have them saved in a log file? ASP can do that, and there are hundreds of examples and free ASP scripts if you google it.
![]() |
Other Threads in the Java Forum
- Previous Thread: Confused about loops and switch
- Next Thread: Need Big Help !!
| Thread Tools | Search this Thread |
2dgraphics 3d @param account affinetransform android api apple applet application arc arguments array arrays automation banking binary binarytree bluetooth chatprogramusingobjects class client code color compare component count database derby design detection eclipse eclipsedevelopment encryption error fractal game givemetehcodez graphics gridlayout gui guitesting helpwithhomework html ide if_statement image integer j2me java java.xls javadesktopapplications javaprojects jni jpanel julia keytool keyword linux list macintosh map method methods midlethttpconnection mobile netbeans object os pong problem producer program project projectideas recursion reference replaysolutions ria rim scanner server set size sms sort sourcelabs sql stop string swing terminal threads transforms tree ui unicode validation web windows







.But thats it my friend just told me no jsp either.Think thats what you get when the server is free.Thanks again but what is your advice now?