×
Jinxia Li
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
Synchronous and Asynchronous Updates

Synchronous and Asynchronous Updates database using modals: Synchronous and Asynchronous Updates database using modals: Synchronous and Asynchronous Updates database using modals: Synchronous and Asynchronous Updates database using modals: […]

Read More
UI – Header & Footer Examples

Color Color is a great way to provide status information, give feedback in response to user actions, and help people visualize data. Use color judiciously for communication. In general, […]

Read More
Is AJAX #faster than Reloading a Page in Form Submission?

Reference: https://stackoverflow.com/questions/5939659/is-ajax-faster-than-reloading-a-page-in-form-submission/5939784#:~:text=Practically%2C%20AJAX%20is%20always%20%22faster%22.&text=In%20other%20words%3A%20a%20page,AJAX%20changes%20show%20up%20immediately.

Read More