×
Jinxia Li
Using PHP Class

I found the class are convenient to use in the following way  : 1) It simplified building the Model Logical Component of our CMS application (which is designed […]

Read More
Web Server, Reverse Proxy, Load Balancer

Reverse proxies can operate wherever multiple web-servers must be accessible via a single public IP address. The web servers listen on different ports in the same machine, with […]

Read More
Database Tables Setup , SQL Statements

Select Statements: https://dev.mysql.com/doc/refman/8.0/en/select.html

Read More
How to securely upload files with PHP?

Reference: https://docs.php.earth/security/uploading/

Read More
Heredoc Syntax Error

Typing a WHITE SPACE and then RETURN after a PHP heredoc will cause syntax error like below: You have to enter ‘return’ immediately after a PHP heredoc. Although […]

Read More
JavaScript Modal

1. preventDefault() Event Method The preventDefault() method cancels the event if it is cancelable, meaning that the default action that belongs to the event will not occur. For example, […]

Read More
Web Server Program Components

A web server is not simply the implementation of the server side of HTTP, it consists of : 1) Program that implement server side of HTTP 2) program […]

Read More
What to know to understand the behavior of PHP code?

1) PHP code runs in the server side machine by the web server invoking the PHP interpreter, which will translate PHP code to HTML code. 2) The web […]

Read More
Data flow from I/O to main memory

From I/O to main memory: 1) Reading from keyboard: USB controller->I/O bridge->Register File->I/O bridge->Main Memory 2) Loading from disk: Disk controller->I/O bridge->Main Memory 3) Reading from network: Network […]

Read More
How Apache communicate with PHP

Reference: How does PHP interface with Apache? https://stackoverflow.com/questions/2772400/how-does-php-interface-with-apache/2772929 How Apache communicate with PHP? https://stackoverflow.com/questions/53039948/how-apache-communicate-with-php/53040298 Run PHP in MAC https://stackoverflow.com/questions/19951457/double-click-and-run-the-php-script-on-mac/19951643

Read More
Web Application Built on Network Application

Network Application: Every network application is based on the client-server model. A server manages some resource, and it provides some service for its clients by manipulating that resource.So […]

Read More
Virtual Memory

Reference: Dynamic Memory Allocation and Virtual Memory https://www.cprogramming.com/tutorial/virtual_memory_and_heaps.html

Read More