Some suggestions for PHP novices (PHP learning experience summary), some suggestions and experience summary
These suggestions are some of the opinions I have accumulated during my own personal experience and growth. They are for reference only. I believe that 80% of them will be helpful to you!
- Don’t worry about which environment to use when you first learn PHP? Appserv and wamp integrated environments are both good
- There are many kinds of editors, but it is best to be familiar with one of them and develop the habit of handwriting code
- Memory of commonly used functions
- Enable environmental error reporting and block NOTICE
- When encountering an error, carefully read the reason, line number, and analyze the solution
- The difference between POST and GET
- The difference between SESSION and COOKIE
- Do not use COOKIE to record important information, such as passwords
- Don’t store passwords in clear text in the database
- URLENCODE is required to transmit Chinese, and the same is true for JS asynchronous submission
- It is best to use JSON for Ajax response pages, especially when there are Chinese or special symbols
- Know the difference between require and include
- Do not store relevant configuration information files in the WEB root directory when deploying the project
- Use folder hierarchies to store uploaded files. Do not put all uploaded files in one upload folder
- You can only use POST to upload files, and the FORM form must declare enctype="multipart/form-data"
- Think about the verification mechanism of verification code and how to implement it
- How to use MC to cache with PHP
- Think about how to use PHP to generate HTML static pages
- Never trust user input
- Think about for($i=0;$i
- Understand character sets and deal with Chinese garbled characters
- What issues need to be paid attention to when intercepting Chinese and English characters
- How to solve the SESSION problem with multiple servers
- How to use database to implement SESSION
- Think about how to limit the size of uploaded files
- How IP addresses are stored in the database
- Use PHP to create a WEB chat room, thinking about how to implement it?
- How PHP interacts with flash
- How to generate PHP dynamic variables
- What are the advantages and disadvantages of saving pictures in the database and saving the picture address in the database?
- How to achieve upload file progress in PHP
- To get the suffix of a file name, you can use up to several methods
- Multidimensional array sorting
- Write a URL, regular email
- After you publish a blog post, you need to send an email notification to tens of thousands of netizens. How do you implement this function
- Write a collection program to collect weather forecasts on your site
- Read the API documents of Taobao, Tencent, Netdisk, etc., and what you have learned
- Write a simple Chinese word segmentation program, or learn about other PHP Chinese word segmentation
Let’s stop writing here for now~! !
Learning is not difficult. It is not easy to learn well. I suggest;
1. Learn PHP in Dreamweaver using a wizard method, a simple process.
Rewrite and simplify after getting familiar with it.
2 Use template samrty to master quickly.
3 Learn oop method.
Look at the teaching materials on the Chongqing Vocational Education Network. There is a PHP video tutorial by samrty.
First of all, it is recommended to learn some WEB basics, such as HTML\CSS\JAVASCRIPT, etc. These are front-end technologies. Even though you are using server-side programs, these will definitely only benefit you in the future, and will not hurt you until you have some basic knowledge. Finally, after understanding the front-end of WEB development, you can learn PHP in depth, and then become familiar with a framework. For frameworks, I recommend you use THINKPHP, which is simple and easy to learn. There is no need to write a book list, just write more code. I usually put a book next to me when I don’t have a computer nearby. If I have a PC, I often write by hand. I wish LZ good luck in learning PHP
http://www.bkjia.com/PHPjc/866670.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/866670.htmlTechArticleSome suggestions for PHP novices (summary of PHP learning experience), some suggestions and experience summary, these suggestions are all from my own experience Some opinions accumulated during the growth process are for reference only. I believe that 8%...
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