PHP Code to Check URL HTTP Status Code
This article provides a PHP function using cURL to retrieve the HTTP status code of a specified URL by setting appropriate options and utilizing curl getinfo.
This article provides a PHP function using cURL to retrieve the HTTP status code of a specified URL by setting appropriate options and utilizing curl getinfo.
This article provides a PHP code snippet to automatically add the nofollow attribute to external links in WordPress blog posts while preserving internal link attribu...
This article demonstrates how to use PHP's str replace function with arrays to perform multiple string replacements efficiently in a single operation.
This article explains how to read and parse JSON data in JavaScript, covering object and array structures, converting between JSON strings and objects using methods ...

xiaoz
I have been writing at xiaoz blog since 2013, sharing practical notes on Linux, Docker, programming, WordPress, and useful tools.
My background spans hosting support, cloud support, Linux operations, and PHP development. I have been working independently since 2022.
I enjoy building reliable web products with PHP, Golang, Python, Vue, and the infrastructure around them, from servers and databases to domains, CDN, and SEO. Most posts here come from real projects and personal experience.
You can get in touch with me through any of the channels below.