Results 1 to 2 of 2

Thread: Alternative to database

  1. #1
    Join Date
    Jul 2006
    Posts
    142
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Default Alternative to database

    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

  2. #2
    Join Date
    Jul 2006
    Location
    just north of Boston, MA
    Posts
    1,806
    Thanks
    13
    Thanked 72 Times in 72 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •