Category: Web zone

The world of networks and beautiful web.

Mailtrap vs Mandrill: sending emails in development

After a long time using Gmail SMTP as my main service for sending email in development environment. I switched to Mailtrap and Mandrill for some recent projects. This post will introduce my experiment when working with these two awesome mailing services. Mailtrap.io Mailtrap is a fake SMTP server for development teams to test, view and […]

Solve the Akismet problem with CloudFlare SSL

Today, I’ve spent time on diving in the solve the problem when using Akismet anti-spam plugin over the HTTPS with the setup using CloudFlare flexible SSL. Problems Akismet is one of most common anti spam plugin used in WordPress. I’ve used this plugin for years and really been satisfied with it. The problem occurs when […]

HTML Checkbox enhancement: iCheck and Shift-Click

iCheck plug-in When other HTML form elements can be formatting so easily, checkboxes and radio buttons need some javascript to be more beautiful. iCheck is a jQuery plug-in that: Highly customizable checkboxes and radio buttons for jQuery and Zepto. Damir Sultanov – iCheck author You can see how checkboxes and radio buttons are formatted by iCheck in […]

Setup a small local web server for your office with WampServer 2

WampServer is a useful and convenient tool to setup a web development environment on Windows. It’s so easy to use WampServer for a private purpose – the way that you only access your projects via localhost. However, if you have no experience, you will find it difficult to use WampServer for your local office. What […]

Solve the “Denied access” problem when using Wamp server 2 on Windows 8

After installing the Windows 8 Consumer Preview (I’ll post a article about its UX soon), I cannot access my localhost as well as all of my local web folders. For more specific, I met these error notice Fortunately, I finally found the way to solve this problem (although I still don’t know why it happens […]

Custom string error in CodeIginter where clause

What is the trouble? Base on CodeIgniter Database class user guide, you can pass a custom string directly to the where clause by the $this->db->where() method. Let see the flowing example, suppose that you have successfully initiated your database. … $val = 1; $this->db->where(“id='”.$val.”‘”); $this->db->get(‘mytable’); … You are sure that your table has a field […]

How to use Codeigniter pagination

The pagination and the CodeIgniter framework When you want to present a long list of data, the pagination becomes a useful way to give your users the best interactivity. This makes pagination supported as a class in CodeIgniter framework. Unfortunately, despite of what developers said on the user guide, using this class is not easily […]

Convert date time data between php servers and user browsers

You need this because: Your web server is in a fixed location when your users can be in any country all over the world, Our world doesn’t use the same clock but it’s divided in to 24 parts called timezones You need to get, manipulate or display current date time between your web server and […]