User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 361,900 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,411 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 2071 | Replies: 11
Reply
Join Date: Apr 2004
Location: in a galaxy far far away :)
Posts: 121
Reputation: johnroach1985 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
johnroach1985's Avatar
johnroach1985 johnroach1985 is offline Offline
Junior Poster

Help A question on java script?(Please answer ASAP)

  #1  
Mar 23rd, 2005
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
------

"A rational anachist believes that concepts such as 'state' and 'society' and 'government' have no existence save as physically exemplified in acts of self-responsible individuals.He believese that it is impossible to shift blame,share blame,distrubute blame.... as blame,guilt,responsibility are matters taking place inside human beings singly and nowhere else.But being rational,he knows that not all individuals hold his evaluations,so he tries to live perfectly in an imperfectworld...aware that his effort wil be less than perfect yet undismayed by self-knowledge of self-failure."

-Robert A. Heinlein

-----
John Roach
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Nov 2004
Location: Netherlands
Posts: 5,576
Reputation: jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough jwenting is a jewel in the rough 
Rep Power: 18
Solved Threads: 184
Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: A question on java script?(Please answer ASAP)

  #2  
Mar 23rd, 2005
Come back in 2 weeks and I may give an answer.

P.S. Java != JavaScript
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
Reply With Quote  
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation: Comatose is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 106
Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Moderator

Re: A question on java script?(Please answer ASAP)

  #3  
Mar 23rd, 2005
As far as I know, Javascript is a CLIENT side scripting language. You Can Not (in any way that I am aware of) use it to store things on the server side. If you want to do that, you might want to look into CGI, or PHP (or ASP).
Reply With Quote  
Join Date: Apr 2004
Location: in a galaxy far far away :)
Posts: 121
Reputation: johnroach1985 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
johnroach1985's Avatar
johnroach1985 johnroach1985 is offline Offline
Junior Poster

Re: A question on java script?(Please answer ASAP)

  #4  
Mar 23rd, 2005
Thanks very much.Dang it so I can not read the comments of the visitors.Himmm...Do you know a place where I could get an asp code snippet for such a thing I know nothing on asp.
Reply With Quote  
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation: Comatose is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 106
Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Moderator

Re: A question on java script?(Please answer ASAP)

  #5  
Mar 23rd, 2005
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).
Reply With Quote  
Join Date: Apr 2004
Location: in a galaxy far far away :)
Posts: 121
Reputation: johnroach1985 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
johnroach1985's Avatar
johnroach1985 johnroach1985 is offline Offline
Junior Poster

Re: A question on java script?(Please answer ASAP)

  #6  
Mar 23rd, 2005
Yeah I know about that I get little edgy when the outlook I never use opens up.What does CGI stand for never heard of it.Can it be used in any server?Or does it need special servers like JSP?Thanks again
Reply With Quote  
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation: Comatose is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 106
Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Moderator

Re: A question on java script?(Please answer ASAP)

  #7  
Mar 23rd, 2005
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.
Reply With Quote  
Join Date: Apr 2004
Location: in a galaxy far far away :)
Posts: 121
Reputation: johnroach1985 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
johnroach1985's Avatar
johnroach1985 johnroach1985 is offline Offline
Junior Poster

Re: A question on java script?(Please answer ASAP)

  #8  
Mar 23rd, 2005
I am a domaindlx user.So it says CGi ,Perl,PHP3 or Coldfusion is not allowed.They say that they are asp lovers .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?
Reply With Quote  
Join Date: Dec 2004
Location: Lincoln Park, Michigan
Posts: 1,744
Reputation: Comatose is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 106
Colleague
Comatose's Avatar
Comatose Comatose is offline Offline
Moderator

Re: A question on java script?(Please answer ASAP)

  #9  
Mar 23rd, 2005
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.
Reply With Quote  
Join Date: Apr 2004
Location: in a galaxy far far away :)
Posts: 121
Reputation: johnroach1985 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
johnroach1985's Avatar
johnroach1985 johnroach1985 is offline Offline
Junior Poster

Re: A question on java script?(Please answer ASAP)

  #10  
Mar 23rd, 2005
Actually I wanted them to be in a txt file that is stored on the server.Under which keywords should I google such a snippet .don't know anything on asp do they have a reserved code word for such a task?Thanks Again
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

DaniWeb Java Marketplace
Thread Tools Display Modes

Other Threads in the Java Forum

All times are GMT -4. The time now is 8:50 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC