This is a step-by-step tutorial on how to create a contact form in jQuery Mobile. I have also included complete php source code that can be used as a web service to send emails from your server. Download 1. Create a folder structure The first thing you need to do is create a folder structure [...]

Continue reading Creating a Contact Form in jQuery Mobile and PHP

Here is a step-by-step tutorial on how to customise WordPress Login page for your website/blog. This tutorial will show you how to change the WordPress logo and link on the Login page without hacking the core code nor installing a plugin. 1. Copy and paste the following code into functions.php file of your current theme. [...]

Continue reading How to customise WordPress Admin Login page

To display 5 latest posts in each parent category of your WordPress blog, add the following code into the template that you want the result to appear. In our case, we added the following code into our 404 template page (404.php of current theme). Other places that you might want to display a list of [...]

Continue reading Display 5 latest posts in each category in WordPress

23 Feb, 2010

25 Most Dangerous Programming Errors

Posted in: PHP,WWW

As you can see in the table below, Cross-Site Scripting, SQL Injection and Buffer overflows are three most common and serious programming errors that result in vulnerabilities. This list was published recently on 17 February 2010. Rank Name [1] Failure to Preserve Web Page Structure ('Cross-site Scripting') [2] Improper Sanitization of Special Elements used in [...]

Continue reading 25 Most Dangerous Programming Errors

Comments Off

I have just finished reading Drupal 6 Content Administration by J. Ayen Green. It has 8 chapters (196 pages) in total but the writing style is very simple and easy to understand that I finished it quite quickly. This book is mainly for content editors who have not used Drupal before and want to know [...]

Continue reading Book Review: Drupal 6 Content Administration

Comments Off

In order to display a download dialog for pdf file rather than opening it in the browser, we can put the following snippet of code in a php file and name the file download.php. The path to the pdf file is specified in $filename variable. You can also pass filename as a parameter in the [...]

Continue reading Display a download dialog for pdf in PHP

One of our latest projects at Anansi Web Development was to build a real estate website with a simple CMS. And I thought, rather than building something from the scratch, why don’t we use WordPress as a CMS and add necessary functionalities. And therefore, here are the steps involved in building a real estate website [...]

Continue reading Building a real estate website using WordPress

After setting up and configuring Drupal for a few websites, I have managed to compile a list of common/essential modules that I install for most websites. And here they are – my list of essential Drupal modules: Core – optional Contact – Enables the use of both personal and site-wide contact forms. PHP filter – [...]

Continue reading My list of essential Drupal modules

The followings are useful cheat sheets for web developers who need to refer to certain syntax and code quickly and easily. They are printer-friendly so you can print them out and stick them on your wall like posters. For those who want a little more than cheat sheets, check our our recommended web development books [...]

Continue reading 15 useful cheat sheets for web developers

1. Uncomment the following line in php.ini. php.ini file is located in the main directory of your PHP installation, for example: C:\PHP\php.ini. ;extension=php_gd2.dll 2. Make sure you have php_gd2.dll file in the extensions directory. The extension directory of my PHP installation is C:\PHP\ext. Look for the directive “extension_dir” in php.ini file to get the exact [...]

Continue reading Enabling gd image library in PHP (Windows)

Profile PicHello! Welcome to Web development blog! My name is Ei Sabai and on this blog, I write about web development, mobile app development, latest web technologies and the likes. Read more about me or have a look at some of the tips & resources I've written.
Subscribe to our newsletter to receive tips, resources and special offers related to web development & design.
We do NOT spam.
Your name:  
Your email:  

Tips & Resources

Tips & Resources
WordPress Web Hosting
Recommended web hosting providers for WordPress 3.0
iPhone Native App Development
Important steps into iPhone app development for beginners
iPhone Web App Development
Tips for iPhone web app development
Coupons for Web Developers
Get discounts on web hosting, domain names, templates, etc
10 Useful jQuery Snippets
Easy-to-use jQuery snippets for any website
HTML Email Newsletter
Step-by-step tutorial on how to code an HTML email newsletter
  • bluehost Hosting $6.95/month
  • Joomla Templates