Notes for web-related content, including but not limited to research and notes on web development language such as PHP, HTML, JavaScript and CSS.
2023-01-10 | #Words: 400
Java supports running a single Java code file like a script on Unix like systems. But at the bottom, it unlikes the real scripts, it still needs to be compiled. You can run it as script under Linux, macOS, WSL and cannot be used under Windows PowerShell or CommandLine.
2022-08-14 | #Words: 1228
Recently I need to study PHP, but I found PHP unlikes scripting languages like Python and JavaScript can be viewed directly in local, PHP needs run on the server. This requires setting up an environment to learn. Although many websites that also provide already built websites, but I think I should learn how to prepare when I learn how to use PHP. Otherwise, when I still don't know how to start by myself. It would be extremely embarrassing.
2022-07-10 | #Words: 232
PHP, like Python, provides the function `parse_url(string $url, int $component = -1)`, which is very convenient.
2022-07-10 | #Words: 460
This article is to introduce the common parameter parts in URLs and how to use common Python, JavaScript, and PHP to parse and obtain parameters. (You can click on the table of contents on the left to jump directly to the part you want to see)
2022-06-12 | #Words: 735
It is a little troublesome to get URL parameters with JS, because JS can only get a certain part of the URL, but it cannot be subdivided. If you want to get a certain parameter, you also need to use string interception. So it’s divided into two steps:
2022-06-09 | #Words: 461
ZhongUncle will introduce how to parse and obtains the URL parameters in Python, and how to use them
2022-06-03 | #Words: 1565
There are two types of output data formats: formatted output and direct output. For example, the `f` of `printf` function in C language means formatted. Different data types can be printed through conversions such as `%d`. Python also has two types.