current location:Home > Technical Articles > php教程

  • Detailed explanation of Socket
    Detailed explanation of Socket
    We are well aware of the value of information exchange, so how do processes in the network communicate? For example, when we open the browser to browse the web every day, how does the browser process communicate with the web server? When you use QQ to chat, how does the QQ process communicate with the server or the QQ process where your friends are? Do all these rely on sockets? So what is a socket? What are the types of sockets? There are also basic functions of socket, which are what this article wants to introduce. The main contents of this article are as follows:
    PHP开发 1250 2016-12-13 10:17:38
  • Introduction to socket communication
    Introduction to socket communication
    We are well aware of the value of information exchange, so how do processes in the network communicate? For example, when we open the browser to browse the web every day, how does the browser process communicate with the web server? When you use QQ to chat, how does the QQ process communicate with the server or the QQ process where your friends are? Do all these rely on sockets? So what is a socket? What are the types of sockets? There are also basic functions of socket, which are what this article wants to introduce. The main contents of this article are as follows:
    PHP开发 1128 2016-12-13 10:09:18
  • Detailed tutorial on linux multi-thread programming (threads implement communication code through semaphores)
    Detailed tutorial on linux multi-thread programming (threads implement communication code through semaphores)
    This article mainly introduces a detailed tutorial on Linux multi-thread programming and provides code for threads to communicate through semaphores. Please refer to it for reference.
    PHP开发 1673 2016-12-13 09:57:13
  • The difference between TCP/IP, HTTP and Socket
    The difference between TCP/IP, HTTP and Socket
    The network is divided from bottom to top into the physical layer, data link layer, network layer, transport layer, session layer, presentation layer and application layer. Through preliminary understanding, I know that the IP protocol corresponds to the network layer, the TCP protocol corresponds to the transport layer, and the HTTP protocol corresponds to the application layer. The three are essentially incomparable. Socket is the encapsulation and encapsulation of the TCP/IP protocol. Application (programmer level). It can also be said that TPC/IP protocol is a transport layer protocol, which mainly solves how to transmit data in the network, while HTTP is an application layer protocol, which mainly solves how to package data.
    PHP开发 1881 2016-12-13 09:54:59
  • Simple understanding of Sockets
    Simple understanding of Sockets
    To understand sockets, you must first familiarize yourself with the TCP/IP protocol family. TCP/IP (Transmission Control Protocol/Internet Protocol) is the Transmission Control Protocol/Internet Protocol, which defines how hosts connect to the Internet and how data is transmitted between them. Standard, literally speaking, TCP/IP is the collective name of TCP and IP protocols, but in fact, TCP/IP protocol refers to the entire TCP/IP protocol family of the Internet. Different from the seven layers of the ISO model, the TCP/IP protocol reference model classifies all TCP/IP series protocols into four abstraction layers
    PHP开发 1338 2016-12-13 09:53:01
  • Detailed explanation of the use of linux awk command
    Detailed explanation of the use of linux awk command
    This article introduces the detailed explanation of the use of Linux awk command. I hope it can help everyone.
    PHP开发 1318 2016-12-13 09:51:52
  • Thoughts triggered by a distinct question
    Thoughts triggered by a distinct question
    The data here has the following characteristics: in one DepartmentId, there may be multiple Names, and vice versa. That is to say, Name and DepartmentId have a many-to-many relationship. Now I want to implement such a query: after sorting by DepartmentID (the first step), then obtain the unique values ​​of the Name column (the second step), and retain the relative order after the first step. In this example, the three values ​​that should be returned are: ACB
    PHP开发 1815 2016-12-13 09:45:31
  • Oracle-distinct usage
    Oracle-distinct usage
    The distinct keyword is used to filter out redundant duplicate records and keep only one, but it is often only used to return the number of unique records, rather than using it to return all values ​​of non-duplicate records. The reason is that distinct can only be solved by double loop query, which will undoubtedly directly affect the efficiency of a website with a very large amount of data.
    PHP开发 1592 2016-12-13 09:33:07
  • Usage of distinct in SQL (analysis of four examples)
    Usage of distinct in SQL (analysis of four examples)
    The distinct keyword is used to filter out redundant duplicate records and keep only one, but it is often only used to return the number of unique records, rather than using it to return all values ​​of non-duplicate records. The reason is that distinct can only return its target field, but cannot return other fields. Next, I will share with you the usage of distinct in SQL through this article. Friends who need it can refer to it.
    PHP开发 2299 2016-12-13 09:31:29
  • Usage of distinct in SQL
    Usage of distinct in SQL
    Tables may contain duplicate values. This is not a problem, but sometimes you may want to just list distinct values. The keyword distinct is used to return uniquely distinct values.
    PHP开发 2825 2016-12-13 09:25:50
  • Use ajaxFileUpload for image upload
    Use ajaxFileUpload for image upload
    Using ajaxFileUpload is mainly to upload files asynchronously, without opening a new page for uploading! Since segmentfault cannot upload files, the code of the file ajaxFileUpload.js is at the bottom of this article: Since the file ajaxFileUpload has not been updated for a long time, handleError: function(s, xhr, status, e) has been added to handle errors. ,
    PHP开发 1376 2016-12-12 17:47:37
  • AjaxFileUpload implements asynchronous file upload (AjaxFileUpload.js file download and parameter introduction)
    AjaxFileUpload implements asynchronous file upload (AjaxFileUpload.js file download and parameter introduction)
    AjaxFileUpload achieves better asynchronous file upload effect
    PHP开发 1439 2016-12-12 17:38:15
  • ajaxFileUpload asynchronous file upload simple to use
    ajaxFileUpload asynchronous file upload simple to use
    ajaxFileUpload asynchronous file upload simple to use
    PHP开发 1194 2016-12-12 17:33:37
  • jQuery plug-in ajaxFileUpload
    jQuery plug-in ajaxFileUpload
    ajaxFileUpload.js There are many names with the same name, because it is easy to make one.
    PHP开发 1727 2016-12-12 17:29:27
  • The difference between strings and arrays in C language
    The difference between strings and arrays in C language
    The elements of an array can be of any type, and a string is a special type of array that uses a well-known rule for determining its length. There are two types of languages, those that treat strings simply as an array of characters and those that treat strings as a special type. C belongs to the former category, but there is one addition, that is, the C string is terminated with a NUL character. The value of an array is the same as the address of the first element in the array (or a pointer to that element), so generally a C string and a character pointer are equivalent.
    PHP开发 2099 2016-12-12 17:25:28

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28