Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to record data at the server ?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 16-03-2009
Member
 
Join Date: May 2008
Posts: 547
How to record data at the server ?
  

I am currently developing a small application in PHP + JavaScript, and I would like to know how to record data (XML, but it could be any text) on the server.

The program I have developed allows the user to manipulate information, to add, delete, ..., all locally on his post. I wish he could save his work on my server (which would then reload the file).

The volume of information is too important for me to pass as a parameter to a PHP program.

What solution do I have?

Reply With Quote
  #2  
Old 16-03-2009
Member
 
Join Date: May 2008
Posts: 945
Re: How to record data at the server ?

I know only two solutions:

1. Pass data in method get or post. Volumes can be quite significant. For example, you can save a lot of data concatenated in a text area.
2. Upload a file already created on the client (reminder: you can not create a file in javascript or html for security reasons).

With Ajax, this is just the same as the parameter passing of the first point.
Reply With Quote
  #3  
Old 16-03-2009
XSI XSI is offline
Member
 
Join Date: May 2008
Posts: 271
Re: How to record data at the server ?

You must use the functions fopen () and fputs ().
Reply With Quote
  #4  
Old 16-03-2009
Member
 
Join Date: May 2008
Posts: 547
Re: How to record data at the server ?

Thank you for your help.
I will try with the POST.

I read that it could recover the data with PHP. It should go.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to record data at the server ?"
Thread Thread Starter Forum Replies Last Post
How to install users, passwords and Exchange data from old server to new server BansiWada Networking & Security 5 19-05-2011 12:33 PM
Migrate data from Project Server 2007 to Project Server 2010 Akaashath Windows Software 5 11-03-2010 11:54 PM
retrieve data from SQL Server 2005 u0107 Software Development 2 01-07-2009 10:14 PM
Remove A-record from DNS server permanently... M. Smit Windows Server Help 2 03-02-2009 04:48 PM
Windows DNS server - force A record to update PTR record Peter Cumming Windows Server Help 1 27-05-2006 07:00 PM


All times are GMT +5.5. The time now is 01:12 AM.