How to Create a WordPress Plugin

WordPress plugins are easy to create even if you’re a newbie and barely know how to work with php. In this tutorial I am going to show you how you can create a simple php plugin, that shows wisdom quotes on the top of your blog. This is very basic tutorial for creating themes, what shown in this theme can be achieved by other means, but we’re making this as a plugin for a simplicity in learning. [Read more...]

How to Remove Xampp Splash Screen Redirection Error

You have installed xampp on your linux machine and now facing the error on splash screen. No matter how many times you click on the language links, it doesn’t redirect you to the index.php page. This error occurs because of the mismatch of the xampp folder permissions. [Read more...]

PHP MySQL Tutorial- Displaying Database Content in Webpage

In this tutorial, we’ll see how to display the contents of mysql table in your php webpage. In my previous tutorial of webserver setup, we checked out how to setup xampp or uniform server. Now you can use the phpmyadmin or sql console from these web server to perform database operations with your webpage. [Read more...]

PHP Exception Handling

PHP like any other programming language has an exception handling feature. You can write your code in a such way that it catches the most obvious exception depending on your programs logic. [Read more...]

PHP File Handling

File handling is very important task that every php developer needs to learn. PHP offers you simple way to manipulate files. You can easily read, write, append or delete data in files. This comes in handy when you use PHP regex with your files. [Read more...]

Codeigniter Setup on Xampp and Uniform Server

Learn How to Setup Codeigniter with Xampp and Uniform Server. Codeigniter is one of the popular PHP framework that is suitable for many new php programmers. Codeigniter is lightweight and is relatively easy to understand php framework compared to cakephp and other frameworks. In this tutorial, we will setup codeigniter and get things running with XAMPP and Uniform server. [Read more...]

PHP Regular Expressions

Regular expressions are the patterns that allow you to processs text based on certain requirement. This in turn produces the sequence or pattern of text that is based on pattern-matching as per developers needs. You can do a lot of things using regular expressions. [Read more...]

PHP Solution to the Project Euler Problem 1

This is one of the easiest problem in the project euler archive. You can perform this problem in any language of your choice. As this site is specifically for web developers so i’m focusing on php for this post. You can change the code to get answer in C, C++ or any other language of your choice. [Read more...]

PHP Loops

PHP like any other programming language makes use of loops to perform particular task repeatedly. You can use loops to perform tasks that are supposed to be executed if certain condition is met upto particular period. [Read more...]

How to Redirect Users using PHP

There are many instances where redirection saves a lot of time. You can create a redirection to forwards users to a page which is translated for their locale. You can use redirection for affiliate link and you can also use redirection to avoid non-local folks to English version of your site. [Read more...]