Posted by NC on 11/18/05 19:35
hakim wrote:
>
> I have written a simple guestbook in php which writes the contents in a
> file while using flock. But I have read that this is not always save.
It is not safe on Windows. But you are not going to host your
guestbook on a Windows machine, are you?
> So some people suggested to use a database instead. But if I use mysql,
> then my customers have to pay more for the webspace. Actually, I would
> prefer to use a simple database like dbm
> (http://www.php.net/manual/de/ref.dbm.php) and write the information in
> a local file.
But then you'd have to talk your hosting company into enabling dbm
support. Would they go along with that for free?
Cheers,
NC
[Back to original message]
|