April 2026
Intermediate
1009 pages
34h 15m
English
So much for the first insight into the most important techniques for working with files in PHP. It's time to put this into practice.
A guestbook is a welcome opportunity on mainly private websites to leave messages for the webmaster and to exchange information with each other. This is particularly easy to implement with a database—so easy, in fact, that the entire database section of this book (see Part IV) contains a complete guestbook example. But it can also be realized with files, although not quite as conveniently.
The aim is clear: A user should be able to enter messages in a guestbook. The guestbook data is stored in a text file. To make it as easy as possible to read out later, we use ...
Read now
Unlock full access