Private project for Evgendob
This project was successfully completed by evgendob for $40 USD in a day.Get free quotes for a project like this
Project Budget$40 USD
Completed In1 day
I have a scenario that needs to be coded in PHP. Here it is
1. Make a simple webpage with a text editor (like tinymce) where entered text is saved in main file on server.
No text formatting functions are necessary. In fact, as long as there is an input text area with save button, it'll be fine.
2. Then user fetches a defined URL through which the text file (named [url removed, login to view]) containing only first line of text from the main file is downloaded.
This URL will be fetched through wget in linux and must always be fixed, rather than dynamic. It must not expire.
3. After downloading this file, the line that is downloaded is deleted from the main file, and the rest of the text is shifted up and the main file is resaved.
Basically, each time a file is downloaded through a defined URL, the top line is removed from the main file and the main file is resaved.
This detail is important.
[url removed, login to view], when I need to update the main file, I just go to the webpage with the editor and add/revise text as necessary and hit save.
Clarification: First text with many lines is saved through editor in the main file. Then I go to special URL (must be always same) and from that URL a second file will be downloaded which will contain only the first line from the saved text. Then after downloading the file, the top line (which is already downloaded with second file) will be removed from the main file and the main file is resaved. When I need to add more text to main file I just go back to editor and save. But each time the second file is downloaded, the top line from main line must be removed. There should be no restrictions on the ip or cookies on how many times the file will be downloaded.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online