Can I do this with JavaScript?
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 posted this at 23:21 — 27th September 2004.
He has: 3,022 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.
Suzanne posted this at 23:38 — 27th September 2004.
She has: 5,507 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 posted this at 07:39 — 28th September 2004.
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 posted this at 15:11 — 29th September 2004.
He has: 1,758 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!
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.