Re: [PHP] user permissions

2009-08-27 Thread Robyn Overstreet
This is where binary is actually helpful. You can store each task/permission as a bit, ie, as a yes or no piece of data. For example: read, write, edit, moderate ... a user with read/write permissions only would be represented by: 1100, which in decimal is 12. So in effect, you're storing 4

Re: [PHP] php/sqlite3

2009-07-08 Thread Robyn Overstreet
Did you try connecting using a PDO object instead of sqlite_open? I'm not positive, but it looks like the sqlite_ only work with sqlite2 ... R On Wed, Jul 8, 2009 at 2:55 PM, brucebedoug...@earthlink.net wrote: hi... i've got an issue where i'm trying to incorporate sqlite3 into my php.