473,387 Members | 1,844 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Can I save file to the server?

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
6 6722
"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
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
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
"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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: RickL | last post by:
I have an ASP application that uploads a specified file to the server. To retrieve the file, I simply assign the filepath and file to a hyperlink on the page. When you click "Save Target As" for...
5
by: kevin | last post by:
Hi, Any help with this would be really appreciated! I'm trying to download a file from a remote server. The access permissions is okay but the problem I'm facing is that the file is getting...
4
by: John | last post by:
Hi, I generate a report in a comma delimited file and give it a name like MyReport.csv . I then set a Hyperlink control to point tp the file HyperLink1.text = "Download"...
9
by: Ivan Demkovitch | last post by:
Hi! I would like to know if I can save File on Server using server-side code? For example, I like to create thumbnail images and populate specific directory. Do I need specific permissions...
4
by: Glenn M | last post by:
I have a shared XML file on a server . i also have one xslt file that performs a simple transform on in to view the data. now i want to have another page that lets users modify the shared xml...
6
by: Pat Carden | last post by:
Hi, We need to allow webusers to upload a file on our website (on Server3, all servers run Server 2003, remotely hosted) and eventually save it on our SBS Server (Server2) which is not exposed...
3
by: Stefano | last post by:
I've a form windows with a lot of textbox controls. How can I do if I have to save all text proprety of this controls in an external file, to reload them in future?
4
by: Jonny | last post by:
Hello Group How do I open a Save File Dialog from an ASPX page behind a browse button? Any help would be fantastic!! I am using ASP.NET 1.1 using VB.NET as the coding language TIA
1
by: rn5a | last post by:
When users submit a Form with a SQL query, the resultset is retrieved from a MS-Access database table which is then exported to an MS-Excel worksheet. After the records get exported to MS-Excel, I...
3
by: evenlater | last post by:
I have an Access application on a terminal server. Sometimes my users need to export reports to pdf, rtf or xls files and save them to their own client device hard drives. They can do that right...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.