Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3322442
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:10:57+00:00 2026-05-17T23:10:57+00:00

Problem: I don’t know the simplest way to allow a single web viewer to

  • 0

Problem:

I don’t know the simplest way to allow a single web viewer to update data in a text file on a server. (ie. only 1 person will be changing the data.)

Objective:

To make a prototype web application just one person needs to input in the start and end dates of new assignments and locations of staff and the whole company can visualize the information on a GANTT chart, probably using this Jquery libary.

Constraints:

My data is about the equivalent size of 1000 of these javascript list of lists like

 *data = [["John Smith" , "assigment" , "1/1/10", "1/1/11", "Peru"],[...],...]* 

Employee assignment data must be on an internal server.

I can’t use a database (such as SQlite or MySQL).

I can only use PHP, Javascript, and jQuery.

Fact: Javascript cant directly change a data file sitting on the server.

My tentative fuzzy solution:

On client-side: use jQuery getJSON() to pass the data back and forth between dataReadWriter.php.

On server-side: dataReadWriter.php modifies a PHP array as well as writes modified data and reads JSONdata.txt stored in a text file on our internal server.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:10:57+00:00Added an answer on May 17, 2026 at 11:10 pm

    Given the constraints, it can’t be done a lot smarter than what you are suggesting. One thing though, you shouldn’t overwrite the only file containing the data, at least switch back and forth between two files, and make sure that your program does not overwrite the other file if one of the files show any signs of being damaged. You can use a PHP session to keep track of which file is the most recent, but better have some in-file timestamps as a fallback.

    Is there anything in particular that you worry about?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem - I don't know the amount of data being sent
problem euler #5 i found the solution but i don't know why this first
OK. This problem is doing my head in. And I don't know if there
There is a problem that don't know how to resolve only with SQL (I
I have a problem I don't know how to solve. I have an Indy10
I have this problem and really don't know how to solve this. I'm having
I have a great problem and I don't know how to solve it I
Q: I have the following problem : i don't know what the problem i
I'm having a little problem and I don't see why, it's easy to go
One problem that I come across regularly and yet don't have a solution to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.