PDA

View Full Version : Alternative to database



neo_philiac
08-27-2008, 04:14 PM
So my webserver is not matured enough to run mysql. But I need to host this form submit page where ppl can submit their info. I have done this before where I would save data into a text file. But I ran into several issues of php not being able to save data in real time. Meaning if 2 user submitted info at the same time, it would write or skip one of them. It could be my coding. Is there any example anyone can show me ? Or any other idea? Suggestion?

Thnaks

boogyman
08-27-2008, 04:38 PM
when you attempt to write the information to the file, you need to put a write lock on the file. I will assume that's what was causing your problem before.