## How to upgrade PHP on LINUX

Step 1: uninstall httpd Sample output: Sample Output: Note: if you use KLOXO, you will see Now you must reinstall lxphp: Sample Output: Step 3:…

## Centmin Mod: how to remove Domain/Subdomain Account

In previous tutorial, we learn how to add new Domain/Subdomain Account Now, how to remove Domain/Subdomain Account? We see in that tutorial, after add new…

## PHP: How to get size of a remote file – Part 2

Part 1: PHP: How to get size of a remote file With a local file, we can get file size of it by using filesize,…

## PHP: How to get size of a remote file

With a local file, we can get file size of it by using filesize, but with a remote file, how to get size of a…

## Using IPv6 with Nginx

Here is the example of Using IPv6 with Nginx in Centos and Centmin Mod Step 1: Go to folder: /usr/local/nginx/conf/conf.d We can find file tutorialspots.com.conf…

## Video JS Resolutions: set default resolution

If you use the videojs plugin: Video JS Resolutions at http://vidcaster.github.io/video-js-resolutions/ Here the example code in <head> tag: in <body> tag How to set default…

## Notice: Use of undefined constant ENT_HTML401 – assumed ‘ENT_HTML401’ In … At Line …

When you use function htmlentities you might get the error: We know the usage of this function: To change the encoding, we must set flag,…

## PHP function: mb_ucwords – Uppercase the first character of each word in a string

Currently on PHP does not have a multibyte (UTF-8) version of ucwords function. I wrote some multibyte mb_ucwords function: You must call these functions before:…

When you use POST method with JSON data, you couldn’t receive request Payload with $_POST,$_GET, or \$_REQUEST Example, you use ajax to POST JSON…