Hiroshi

Being a website developer, I always wanted a control in which I can find visitor’s country name, country code, region or state name and city name. I wanted to redirect users based on their country and region. Now we have a script that let’s your visitor choose or set location so that he can perform […]

Send or receive HTML based email with multiple attachments. Highly customizable PHP script based on HTML 5 that can be used to adjust according to your requirement for an advanced email.

{ 0 comments }

I always wanted to create a simple cache script that should be easy to use, flexible and can take parts of webpage to store separately as cache files. Sometimes you do not need full page cache mechanism.

{ 0 comments }

I was working with the admin of a website and client needed to save Google Analytic code into the database. So I created a panel where he could save JavaScript code into database table to retrieve it in footer of website on every page. And then I created a section to save meta code for […]

{ 0 comments }

PHP Simple cache is a very useful caching script that can be used on any PHP website to make it responsive. Cache whole website or individual pages. You can turn on cache for most common pages or most visited pages.

{ 0 comments }

Recently I noticed that a caching plugin was creating problem with the WordPress blog. Instead of performance upgrade, my blog was becoming less responsive. I had to turn it off and change the caching plugin. That cache plugin installed cache code in .htaccess file as well. I had to remove it too. I have compiled […]

{ 0 comments }

Sometimes clients need to edit their CSS to make design changes and you have to implement a mechanism in website admin to get CSS, edit it and save it. You can do it in several ways but here is popular one like WordPress use while theme editing. Here it is.

{ 0 comments }

We have earlier given a cache script to cache PHP websites. Here is another ready to use open source solution. This package is a little cache system optimized for file containers. It is fast and safe (because it uses file locking and/or anti-corruption tests). Implementation is really easy.

{ 0 comments }

PHP Website Cache Script

by Hiroshi on February 3, 2013

in cache

PHP website cache system will reduce server load, make website more responsive and fast. It will reduce database requests and save time that sever takes to translate PHP pages before sending them to browser. This cache script converts PHP pages in static pages and stores them in cache folder. If static version of page exists […]

{ 0 comments }

Here is how to use mySQLi, connect to the db and display a single record from database.

{ 0 comments }