Author name: d5admin

Leverage Browser Caching

Leverage Browser Caching in IIS Web.config

“Leverage Browser Caching” is a crucial aspect of website optimization that can greatly improve the loading speed and overall performance of your website. By utilizing the web.config file in IIS, you can easily configure caching settings for your website, allowing browsers to store and retrieve frequently used resources locally. This not only reduces the amount …

Leverage Browser Caching in IIS Web.config Read More »

Invalid Request OpenSSL Error: Adding a new site to MainWP on Windows

I have been setting up MainWP on Windows and I ran into an issue when trying to add my first site. MainWP’s dashboard gave me an error, “Invalid Request” – not very descriptive. When I looked in my PHP error log I found: “[10-Dec-2016 14:20:34 UTC] PHP Warning: openssl_pkey_get_details() expects parameter 1 to be resource, …

Invalid Request OpenSSL Error: Adding a new site to MainWP on Windows Read More »

Display an Array in PHP

function display_array($your_array) { foreach ($your_array as $key => $value) { if (is_array($value)) { display_array($value); } else { echo  ‘<br> – Key: ‘ .$key . ‘ :: Value: ‘ . $value . “<br />\n”; } } return $out; }