Broken. Read/write functions not working.
Error on line 56: invalid argument supplied for foreach???
Fixed error. Adds new item to page but doesn't write to file.
Remove index is working again.
Fixed: uploads a file to uploads dir, still doesn't write to existing file.