Results 1 to 4 of 4

Thread: How to record data at the server ?

  1. #1
    Join Date
    May 2008
    Posts
    552

    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?

  2. #2
    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.

  3. #3
    Join Date
    May 2008
    Posts
    271

    Re: How to record data at the server ?

    You must use the functions fopen () and fputs ().

  4. #4
    Join Date
    May 2008
    Posts
    552

    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.

Similar Threads

  1. Replies: 5
    Last Post: 19-05-2011, 12:33 PM
  2. Migrate data from Project Server 2007 to Project Server 2010
    By Akaashath in forum Windows Software
    Replies: 5
    Last Post: 11-03-2010, 11:54 PM
  3. retrieve data from SQL Server 2005
    By u0107 in forum Software Development
    Replies: 2
    Last Post: 01-07-2009, 10:14 PM
  4. Remove A-record from DNS server permanently...
    By M. Smit in forum Windows Server Help
    Replies: 2
    Last Post: 03-02-2009, 04:48 PM
  5. Windows DNS server - force A record to update PTR record
    By Peter Cumming in forum Windows Server Help
    Replies: 1
    Last Post: 27-05-2006, 07:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •