PHP flat file and session help

I have a PHP-based application for classroom instructors. The system uses a flat-file system and is not in a database. Instructors can login to edit their site, which usually involves copying and pasting text into an open-source WYSIWYG text editor. When instructors "create" a new class by entering a class name into a text field, the system creates a copy of a template directory and renames it as a new directory. Therefore, the system both creates directories and writes to files. I believe that the system uses PHP sessions, but that may be where my problem lies.

When only a few instructors had accounts, there were not reported problems. Now, many instructors have accounts, and we are experiencing problems. Unfortunately, the problems cannot be replicated consistently.

The instructor login information resides in a text data file with name, department, password, and email address, each on its own line. The PHP scripts read and use this data to grant access to the editing features and to display the instructor name and department in the web page header. RANDOMLY, the system will overwrite this file, blanking out all of the data. The web page header becomes empty and the instructor cannot login with their password.

The good news is that when this happens, the instructor CAN login by leaving the password field empty, then they are given the chance to re-enter that information (name, department, password, and email address). The website operates as normal until the file is mysteriously overwritten (and emptied of data) again.

I believe that the problem may be caused if:

*the instructor does not logout correctly when finished,

*the instructor uses two web browsers and logs in on each to access the same site

*PHP sessions are not working correctly.

It is quite probable that two or more instructors are working on their individual sites at the same time and one PHP script overwrites the data file of another.

I am willing to pay a PHP programmer with experience in reading/writing flat files and PHP sessions to help me solve my problem.

Beceriler: PHP

Daha fazlasını gör: create session flat file php, sessions flat file php, writing email address, working php programmer, website to help me on writing, web script editor, template source file, sites which help to create site, site php template, session php, programmer web directory, programmer out source, programmer news, programmer help solve website problem, php website editor, php programmer reading, php programmer on line, php programmer for new website, pay php, password problems, new line in php, name writing template, my name editor, my access writing, login system in php

İşveren Hakkında:
( 0 değerlendirme ) Eugene, United States

Proje NO: #43726

Bu iş için 13 freelancer ortalamada $75 teklif veriyor


Bid includes development , deployment and testing. we offer 30 days free support. We are ready to start and send daily reports. we communicate through mail,messenger,phone and skype. Chandusoft is a customer-specific s Daha Fazla

in %bids___i_period_sub_35% gün içinde89%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(18 Değerlendirme)

Great Description & Simple Job... Looking forward to accept this project.. Rohit Arora .. [login to view URL]

in %bids___i_period_sub_35% gün içinde70%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(56 Değerlendirme)

I can help you in tracing the problem. Please contact me. Thank you.

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(16 Değerlendirme)

We have experienced such problems earlier so we can do it.

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(26 Değerlendirme)

I can do this job, since I have experience in PHP and session management. Good luck

in %bids___i_period_sub_35% gün içinde85%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(12 Değerlendirme)

Please check your PM.

in %bids___i_period_sub_35% gün içinde30%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(4 Değerlendirme)

“We are team of professionals expertise in developing web based application using PHP/ASP/.NET and J2EE and in web designing using Photoshop,Dreamweaver MX,Flash [login to view URL] reading your project description we are highly Daha Fazla

in %bids___i_period_sub_35% gün içinde85%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(2 Değerlendirme)

VisaSoft is a customer-specific service oriented company has got an Professional and creative [login to view URL] are the Professional Web Development Company having 3 years experience in Web design and development. We have expe Daha Fazla

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

We will solve it on time. Thanks

in %bids___i_period_sub_35% gün içinde68%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(1 Yorum)

hello, i presume current script doesn't deploy proper file access handling. when users grow, concurrent accesses to file may increase which can lead to improper read and write. i propose for a queue system to be imple Daha Fazla

in %bids___i_period_sub_35% gün içinde85%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Plz refer PMB

in %bids___i_period_sub_35% gün içinde75%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

hi, i know what happened below the ground and how to fix

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)

Hi sir , We can fix your pbl it happens due to session lost so plz Let Us Know if you are interested Thanks, webhelpdesk

in %bids___i_period_sub_35% gün içinde90%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)