Home  >  Article  >  Backend Development  >  flash+php+mysql to create a simple message book tutorial page 1/3_PHP tutorial

flash+php+mysql to create a simple message book tutorial page 1/3_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:51:01875browse

(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. ):
flash+php+mysql to create a simple message book tutorial page 1/3_PHP tutorial

  1. Apache folder: PHP server (similar to IIS).
  2. MySQL-5.0.15b folder: MySQl database server.
    data folder: stores the website database. (The guestbook database is stored here, in the background)
    bin folder: the files inside are used to operate the database (DOS mode)
  3. php-5.2.6-Win32 folder: PHP function library, interpreted by Apache.
  4. ZendOptimizer folder: speed up PHP execution.
  5. htdoc (or www): stores web page files. (The webpage file of the guestbook is placed here, the front desk)
    phpMyAdmin folder: Operation database (Windows mode)

Note:

1. During installation, you will be prompted to enter the MySQl database password. The password here is "sun" as an example. (Username "root")

flash+php+mysql to create a simple message book tutorial page 1/3_PHP tutorial

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.

flash+php+mysql to create a simple message book tutorial page 1/3_PHP tutorial

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/319247.htmlTechArticle (Mainly refer to Huoshan’s post: ★FLASH and ASP communication introductory tutorial - Make a guestbook that is truly your own ! ). There is no better tutorial on PHP guestbook on the Internet. I have downloaded many...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn