|
Posted by Efi Merdler on 03/08/07 13:56
Mike Russell wrote:
> It seems to me that you should consider whether a database may be a cleaner
> solution than a file. In addition to the permissions issue you've already
> discovered, there is locking. Have you considered what happens when two
> sessions need to access the file at the same time? These sorts of issues
> are already dealt with if you use a database.
> --
> Mike Russell
> www.curvemeister.com/forum/
Thanks, I considered it, I'm using flock, the reason I'm not using a
db because all I needed was a really simple access procedure, however
I do agree that next time I'll use a db, now I just do not have the
time to change my script.
Thanks again,
Efi
Navigation:
[Reply to this message]
|