PHP Knowledgebase Atlas Summary

Source: Internet
Author: User
Tags md5 encryption

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 &lt;

> (greater than) becomes &gt;

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.