7-Views - Page 5 of 6 - Developers Blog

List Files and Directories using glob in PHP

Posted by
August 24, 2018

This function allows us to perform a search for path names using wildcards. which is similar to the rules used by common shells. Having the following parameters: $pattern (mandatory): The search pattern $flags  (optional): One or more flags. GLOB_MARK – Adds a slash to each directory returned GLOB_NOSORT – Return files as they appear in the directory […]

read more

Defragment to Recover Space in MYSQL

Posted by
August 24, 2018

If our application is performing a lot of update delete operations on a certain table then there is high possibility that it contains fragmented space. The OPTIMIZE TABLE statement allows MySQL DBAs to reorganize physical table storage in order to achieve three main goals: Shrinks the data pages Shrinks index pages Computes Fresh Index Statistics […]

read more

Update WordPress Without Using FTP

Posted by
August 22, 2018

In some cases, we are not able to update/upgrade our WordPress and plugins to a newer version without providing our FTP connection information. This is a common issue whereby the WordPress system can’t write to your ‘wp-content’ folder directly. To resolve this you need to follow certain steps 1) Give ‘wp-content’ 775 permissions 2) Open […]

read more