justuptime.com - monitor your servers & websites

Can I do this with JavaScript?

You are viewing this site as a guest. Join our community to get your questions answered and share knowledge. Active members may advertise and ask for a website critique.
blelisa's picture

They have: 31 posts

Joined: Aug 2003

I am looking to write a program that will ask my visitor for some specific input. Than when the visitor inputs the info, it will take the input and write it to a .doc and call another program on my server to come get the .doc and use the information. Is this possible? Thanks!

Renegade's picture
Moderator

He has: 2,944 posts

Joined: Oct 2002

I don't think that it is possible, but it looks to me that you will need to use a serverside language such as PHP along with your Javascript.

Cheng Eu Chew - Renegade
Download:
- Mozilla, Firefox
- Opera
This post may contain peanut traces

Suzanne's picture

She has: 5,512 posts

Joined: Feb 2000

JavaScript is a client-side technology, so it can't write to a server. However, it can write a cookie, that your other program could read?

openmind's picture

He has: 945 posts

Joined: Aug 2001

Using JavaScript would be a messy and complex way to do this. Go server side and use PHP or ColdFusion...

andy206uk's picture
DeveloperModerator

He has: 1,754 posts

Joined: Jul 2002

I don't know about writing doc's on the fly using PHP but writing PDF's is a cinch with PDFlib!