+ 3

How to do this?

Your task is to write a php-script called index.php, which implements guestbook functionality. Required functionality: adding new messages to the guestbook list of messages in the guestbook. In order to display all messages from the guestbook, you need to get a list of files in the messagesfolder (the messages folder must be in the same place as the script file). If the folder does not already exist, you need to create it automatically (use the mkdir() function). Next, you need to read the messages from the files. The storage format is specified in the Notes. Below the list of messages you need to display the html form to add a new message. When submitting the form, it is necessary to check and process the data received (to understand how to do it, read the following manual). If the data is entered correctly, you need to create a new file named $time.txt(where $time is the current time in microseconds, which can be obtained using the microtime()function), write a new message to it and then display a lis

18th Mar 2020, 10:31 AM
Nikita Sauko
Nikita Sauko - avatar
2 Respuestas
0
maliwan ngamnuk
18th Mar 2020, 7:57 PM
วิเชียร เสาะหาได้
วิเชียร เสาะหาได้ - avatar