(Mainly refer to Huoshan’s post: ★Introductory Tutorial on FLASH and ASP Communication—Make a guestbook that truly belongs to you!). There are no better tutorials on PHP guestbooks on the Internet. The many source files I downloaded are all confusing, and many of them have their codes written on MC. Or maybe there is a good tutorial that I haven't found, but no matter what, I'm going to try my best here now.
Flash+php+mysql simple guestbook tutorial
Purpose:
Create a simple guestbook using flash+php+mysql.
Configure the environment:
The first step is to configure the corresponding environment. I downloaded the configuration environment package, which is a fool-proof method and easy to install, which suits me better. Download address: http://phpnow.org/download.html (Including: Apache, PHP, MySQL, Zend Optimizer, phpMyAdmin, eAccelerator)
The folder is introduced as follows (Init.cmd installation; PnCp.cmd control Panel. ):
Note:
1. During installation, you will be prompted to enter the MySQl database password. The password here is "sun" as an example. (Username "root")
2. After entering "http://127.0.0.1" in the browser, the configuration related information will be displayed. You can enter the MySQl password to test the connection.