PHP flat file and session help

Encerrado Postado Feb 9, 2006 Pago na entrega
Encerrado Pago na entrega

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.

PHP

ID do Projeto: #43726

Sobre o projeto

13 propostas Projeto remoto Ativo em Nov 26, 2006

13 freelancers estão ofertando em média $75 nesse trabalho

devportals

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

$50 USD in 2 dias
(16 Comentários)
5.9
leopro

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

$100 USD in 6 dias
(26 Comentários)
5.4
shiva1977

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

$85 USD in 6 dias
(12 Comentários)
3.5
jdwilliams19

Please check your PM.

$30 USD in 2 dias
(4 Comentários)
3.3
webtechmitesh

We will solve it on time. Thanks

$68 USD in 3 dias
(1 Comentário)
1.4
bloodyveins

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 Mais

$85 USD in 7 dias
(0 Comentários)
0.0
martin4php

Plz refer PMB

$75 USD in 7 dias
(0 Comentários)
1.4
phpabc

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

$100 USD em 1 dia
(0 Comentários)
0.0
webhelpdesk

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

$90 USD in 3 dias
(0 Comentários)
0.0