Category: Optimization

Optimization is necessary to use the standard practises to develop the technology. In websites, we optimize from server to small bit of code. All is try to covered under this category.

Encrypt and Decrypt for URL Using PHP

Here is the function for Encrypt and Decrypt (String, text, ids) for URL Using PHP. please set change $secret_key and $secret_iv for your wish to generate secure encryption and decryption keys. function encryptor($action, $string) { $output = false; $encrypt_method =…

Add Trailing Slash to URL (.htaccess)

Some of search engines remove the trailing slash from URLs that look like directories – e.g. Yahoo does it while listing on their search engine. This could result into duplicated content problems when the same page content is accessible under…

Manage and Tweak Dedicated Linux Hosting Web Server

To manage your linux based Dedicated Linux Web server having plesk as control panel. You can do following to tweak, enhance performance and to manage services: Linux Configuration As we do on our normal Linux based server, we list out…

Using PHP script to delete a multiple files

This is short php script to delete files file by file in a loop. To do deletion with PHP, use this little PHP script: $dir = “/directory/”; $dh = opendir($dir); $i = 0; while (($file = readdir($dh)) !== false) {…

Tools for Optimizing Images

smush.it!: smush.it! makes optimization of your images a breeze. Created by Stoyan Stefanov and Nicole Sullivan, smush.it! is a tool that is available as a Firefox extension, a bookmarklet, or as a simple web-based application (hosted by Yahoo!). RIOT: RIOT…