By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,627 Members | 1,870 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,627 IT Pros & Developers. It's quick & easy.

Can I save file to the server?

P: n/a
Hello,

At the moment the data from my web page Javscript app is sent to me
by email via a form and a cgi program. Is it possible to save this
data to a file on the server?

If yes, how do I do this?!

Thanks

Geoff
Sep 6 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
"Geoff Cox" <ge*******@notquitecorrectfreeuk.com> wrote in message
news:ah********************************@4ax.com...
Hello,

At the moment the data from my web page Javscript app is sent to me
by email via a form and a cgi program. Is it possible to save this
data to a file on the server?

If yes, how do I do this?!

Thanks

Geoff


Sure, what do you want to use and what does your server (Web host?) support?

ASP, PHP, Perl ...

Sep 6 '05 #2

P: n/a
On Tue, 6 Sep 2005 14:35:07 -0500, "McKirahan" <Ne**@McKirahan.com>
wrote:
"Geoff Cox" <ge*******@notquitecorrectfreeuk.com> wrote in message
news:ah********************************@4ax.com.. .
Hello,

At the moment the data from my web page Javscript app is sent to me
by email via a form and a cgi program. Is it possible to save this
data to a file on the server?

If yes, how do I do this?!

Thanks

Geoff
Sure, what do you want to use and what does your server (Web host?) support?


Hello,

I can write Perl and php scripts on the web host server - either of
these OK?

Any sample code that you know of?

Cheers

Geoff




ASP, PHP, Perl ...


Sep 6 '05 #3

P: n/a
Geoff Cox wrote:
At the moment the data from my web page Javscript app is sent to me
by email via a form and a cgi program. Is it possible to save this
data to a file on the server?

If yes, how do I do this?!


Modify your CGI script to store it on the server instead of / as well as
emailing. I'd strongly suggest using a database rather then a file though.

http://search.cpan.org/~timb/DBI-1.48/DBI.pm

This is entirely irrelevant to JavaScript though.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Sep 6 '05 #4

P: n/a
"Geoff Cox" <ge*******@notquitecorrectfreeuk.com> wrote in message
news:3u********************************@4ax.com...

[snip]

I can write Perl and php scripts on the web host server - either of
these OK?

Any sample code that you know of?

Cheers

Geoff


You'll probably find something here:

http://www.scriptarchive.com/

http://www.devdaily.com/Dir/Perl/CGI/Forms/
Sep 6 '05 #5

P: n/a
On Tue, 6 Sep 2005 15:26:00 -0500, "McKirahan" <Ne**@McKirahan.com>
wrote:
You'll probably find something here:

http://www.scriptarchive.com/

http://www.devdaily.com/Dir/Perl/CGI/Forms/


Thanks for the links.

Cheers

Geoff


Sep 6 '05 #6

P: n/a
On Tue, 06 Sep 2005 21:22:10 +0100, David Dorward <do*****@yahoo.com>
wrote:
Modify your CGI script to store it on the server instead of / as well as
emailing. I'd strongly suggest using a database rather then a file though.

http://search.cpan.org/~timb/DBI-1.48/DBI.pm

This is entirely irrelevant to JavaScript though.


David,

Thanks for the link.

Any experience of saving data in a format which can be used by the
SPSS statistics package? Just a wild one!

Cheers

Geoff

Sep 6 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.