Basic syntax does not summarize
Classic algorithms:
Bubbling algorithm, fast algorithm, two-point lookup
String processing:
String Lookup
String sort
Session and Cookies:
Session does not support cross-domain, cookies support cross-domain;
The session is based on cookies, and disabling cookies does not get SID and does not work;
Session can store more information, the cookie storage information is limited;
Cookies are relatively unsafe;
Date function:
Include and require differences:
Xml:
Generate XML, read XML
Json:
Generate JSON, read JSON
Rich Text security Processing:
The Htmlspecialchars () function converts some pre-defined characters to HTML entities.
The predefined characters are:
& (and number) becomes &
"(double quotes) become "
' (single quote) become '
< (less than) becomes <
> (greater than) becomes >
Object-oriented:
Database Links:
MYSQLI connection, PDO connection, common functions, basic additions and deletions, database connection class
File Management:
File upload, File download (direct click to download there will be problems, when the TXT or image will be opened directly), file path, file suffix name, judgment file, judging folder, upload plugin (uploadify, keditor)
Image processing:
Picture uploading, image playing text watermark, picture watermark, image watermark position control, picture Blur (Gaussian Blur)
Encryption:
Custom functions
One-way encryption: MD5 encryption, Crypt,base64
Bidirectional encryption: Encode
Data acquisition:
Curl function
Mail send:
Phpmailer Mail Sending Class
Third-party login:
Oauth2.0 technology principle, QQ Internet, Weibo login, login
API usage and production:
API principles
API Interface uses
API Interface Authoring
Two-dimensional code production:
QRCode
Chart making:
Jpgraph
Code encryption:
Zend Guard
Advanced section:
Performance optimization:
1.Redis and Memcache
2.Apache settings
3. Database optimization
4.PHP Code optimization
5. Hardware optimization
PHP Repository Atlas Summary