This function takes an IP address and CIDR netmask (e.g. 102.68.1.0/25), and calculate IP address range in that netblock. Example: result: array(2) { [0]=> string(10)…
Read first: PHP: Crop image function We can save to new file: Online demo We get the result: http://www.demo.tutorialspots.com/crop/logo.png Now, we can crop image on…
According to the document of PHP official website, http://php.net/sys_getloadavg sys_getloadavg (PHP 5 >= 5.1.3) sys_getloadavg — Gets system load average So, it’s only for PHP…
According to the document of PHP official website, http://php.net/str_ireplace str_ireplace (PHP 5) str_ireplace — Case-insensitive version of str_replace(). So, it’s only for PHP5+. In PHP4,…