[Php] a simple tutorial on my micro-Forum [completed] I have been working on ASP and recently started to learn PHP. The first work is this micro-Forum (also called the message book). although there is no technical content, it is difficult to get started when I first came to the classic Forum of 04 years to learn ASP, so I want to write a little bit of my recent PHP learning experience. I hope to give some reference to my friends who want to learn PHP just like me, so that beginners can get a little easier and better. I have made some contributions to the forum. (In fact, I am very confused about this tutorial. I am also a beginner. I want to give some advice when writing code ).
It is best to have a basic PHP book at hand. I use the book "proficient in PHP + MYSQL application development" by people's posts and telecommunications (many people reflect that it is not very good ); another is the basic PHP Tutorial published by Beijing University of Technology Press. The book is old, but the PHP functions introduced are more detailed. My text expression skills are limited. I hope my classmates can't understand me ......
In addition, I used my off-duty time to write this article. I plan to write this article while improving this forum. Because of the limited time and the limited level of authors, it is very difficult for me to update every day until I finish writing all of them. I hope you will forgive me)
Start now:
My Forum features:
Users are divided into three levels: Tourists, registered users, and administrators.
Users: user registration; login; posting; reply; edit your post;
Administrator: manage forum sections (including adding, modifying, and deleting) and manage posts (top, Essence, move, and delete );
If the forum is fully open, visitors can post.
1. I am not talking about setting up the PHP environment and installing MYSQL. the classic post has a detailed explanation. You can also refer:
Https://www.php1.cn/
Or
Https://www.php1.cn/
Here we will build a PHP runtime environment on your computer. My Environment: WIN2000 + APACHE 2.23 + MYSQL 5.0
2. create a database.
PHPMYADMIN is a good way to manage MYSQL. you can use it to create a database. I use a MYSQL-FRONT, it is also very useful. In fact, a software is easy to use and doesn't need to follow suit. Haha. Alternatively, you can use the MYSQL Command Line Client provided by MySQL to operate the database:
*/
My Forum is still under improvement, and I will continue to learn about security and fault tolerance. A small forum is still relatively simple in terms of thinking, but it still takes some effort and brains to do it. (You can release the source file later)
This is a simple tutorial. The author has a limited level and has no experience in tutorial writing. Therefore, I would like to give you some advice. Thank you !!