shinypb / openkeyval

OpenKeyval.org is a completely open key-value data store, exposed as a drop-dead simple web service. The goal is to make this a very easy way to persist data in web applications.
http://openkeyval.org
Other
136 stars 35 forks source link

Write-Once Key Support #17

Open tecywiz121 opened 13 years ago

tecywiz121 commented 13 years ago

Hey!

I'm wondering if you'd be interested in write-once key support :)

I'm not a php programmer, so let me know if anything I did is incorrect, and I'd be happy to fix it. Also, I was unable to get the unit tests to run properly on my server, so let me know if I broke anything.

Thanks, tecywiz121

tecywiz121 commented 13 years ago

I'm assuming you mean in CheckAndSetKey?

I do check that the file handle returns a valid resource (line 354), which is why I am suppressing the error.