In Progress

Private project for Evgendob

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.

Skills: PHP

See more: php url expire, private special, dynamic webpage php, wget, project needs saved, text editor dynamic, downloading file project, simple project scenario, need webpage editor, project scenario, expire url php, revise text, revise update, dynamic text editor, php expire url, php expire url time, wget server, wget php, project text editor, private webpage, private ip, php txt file editor, detail dynamic url, tinymce file save, php tinymce save

About the Employer:
( 2 reviews ) Pohang, United States

Project ID: #5030671

Awarded to:

evgendob

Hired by the Employer

$40 USD in 1 day
(196 Reviews)
7.1