We can use python to encode a python object to json string and send it to a php server. PHP server has received the python json string. How to process it? In this tutorial, we will introduce you how to do with an example.
An image can be run as a php script? The answer is yes. In this tutorial, we will use an example to illustrate you how to do.
We often need to read an image file content and process it, then display this image in browsers. How to show them using php? In this tutorial, we will introduce you how to do.
PHP equal operator (==) and identical operator (===) are widely used in if statement, what is the difference between them. In this tutorial, we will discuss this topic for php beginners.
If you open your site and get error: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (111), You can read this tutorial to find a solution.
X-Robots-Tag is a kind of http response header, it can tell search engine how to process your html page. In this tutorial, we will discuss X-Robots-Tag: noindex for beginners.
We usually use select statement to select rows from mysql database, however, these rows are ordered by primay key, not are orderded randomly. In this tutorial, we will introduce how to select random rows from mysql.
In many php applications, we should use php curl model to access the remote url. However, if php disable curl, you will fail to access. In this tutorial, we will discuss how to detect php curl is enabled or not.
When you are using base64 to encode a string, there are +, / and = characters in encoding result. In this tutorial, we will introduce how to replace +, / and = characters by encoding string with php base64.
WebP image is one of best image format used on sites, it is smaller than other image formats, such as jpg and png. In this tutorial, we will introduce how to convert png, jpg to webp image, you can change your website images to webp by our this tutorial.