Home  >  Article  >  Backend Development  >  Some suggestions for PHP newbies (PHP learning experience summary), some suggestions and experience summary_PHP tutorial

Some suggestions for PHP newbies (PHP learning experience summary), some suggestions and experience summary_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:20:32869browse

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!

  1. Don’t worry about which environment to use when you first learn PHP? Appserv and wamp integrated environments are both good
  2. There are many kinds of editors, but it is best to be familiar with one of them and develop the habit of handwriting code
  3. Memory of commonly used functions
  4. Enable environmental error reporting and block NOTICE
  5. When encountering an error, carefully read the reason, line number, and analyze the solution
  6. The difference between POST and GET
  7. The difference between SESSION and COOKIE
  8. Do not use COOKIE to record important information, such as passwords
  9. Don’t store passwords in clear text in the database
  10. URLENCODE is required to transmit Chinese, and the same is true for JS asynchronous submission
  11. It is best to use JSON for Ajax response pages, especially when there are Chinese or special symbols
  12. Know the difference between require and include
  13. Do not store relevant configuration information files in the WEB root directory when deploying the project
  14. Use folder hierarchies to store uploaded files. Do not put all uploaded files in one upload folder
  15. You can only use POST to upload files, and the FORM form must declare enctype="multipart/form-data"
  16. Think about the verification mechanism of verification code and how to implement it
  17. How to use MC to cache with PHP
  18. Think about how to use PHP to generate HTML static pages
  19. Never trust user input
  20. Think about for($i=0;$i
  21. Understand character sets and deal with Chinese garbled characters
  22. What issues need to be paid attention to when intercepting Chinese and English characters
  23. How to solve the SESSION problem with multiple servers
  24. How to use database to implement SESSION
  25. Think about how to limit the size of uploaded files
  26. How IP addresses are stored in the database
  27. Use PHP to create a WEB chat room, thinking about how to implement it?
  28. How PHP interacts with flash
  29. How to generate PHP dynamic variables
  30. What are the advantages and disadvantages of saving pictures in the database and saving the picture address in the database?
  31. How to achieve upload file progress in PHP
  32. To get the suffix of a file name, you can use up to several methods
  33. Multidimensional array sorting
  34. Write a URL, regular email
  35. 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
  36. Write a collection program to collect weather forecasts on your site
  37. Read the API documents of Taobao, Tencent, Netdisk, etc., and what you have learned
  38. Write a simple Chinese word segmentation program, or learn about other PHP Chinese word segmentation

Let’s stop writing here for now~! !

How should I learn PHP and in what order should I learn it? People who have successfully learned it will share their collective experience of learning

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.

Ask what are the prerequisites for learning PHP and some learning materials suitable for novices

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

www.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