You are here: Re: flock or database « PHP Programming Language « IT news, forums, messages
Re: flock or database

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация