Development Wall

help for php, codeigniter, javascript, jquery, mysql, apache, ubuntu
How to install Zend Framework in Ubuntu

Zend Framework  is one of the most powerful  framework for PHP, it has lots of built in component and its very useful to develop large scale complex web  application. I will show how to install Zend Application Framework on Ubuntu. I hope you have already installed php, apache in you Ubuntu box. Download the latest version [...]

Read More»

Create a secure password hash with SHA256 in php

Most of the time PHP developers encrypt password with MD5. But this days we need more secure encrypted  password. Bellow I will show how to use SHA256 encryption method to create secure password hash. We just need  two simple function: First function genenrate_salt create a random string which will be used as salt for password [...]

Read More»

Very small php function to calculate age from date of birth

The bellow simple function will calculate  age from a date of birth Output: I am  12 years old

Read More»

HTML5 Basics

HTML5 is the latest version of HTML and XHTML. HTML5 makes  things very simple but its powerful. I will show some very basic tag for HTML5 1. The document Type(Doctype) Declaration: The HTML <!DOCTYPE> is used  to  specify  which version and language the document is using. Before (Xhtml): After (html5): It will work in older [...]

Read More»

Useful command for ubuntu / linux part 2

Display used and free memory on the system #free Shows disk free space #df Display a tree of processes #pstree Display Calendar in command line #cal Delete all command history #history -c More Command

Read More»

Introduction to CodeIgniter-Part 1

PHP has many open source web application framework and CodeIgniter is one of  the most popular, easy, flexible and extendable MVC framework among all others framework. CodeIgniter can be used from small web site to large scale complex web application. With CodeIgniter, you can save time, make your web application more robust, your code will [...]

Read More»

How to put Controller inside Multi Level directory or Subfolder in CodeIgniter

By default Codeigniter does not have the support to put Controller inside Multi Level directory or Sub Folder, but still you can do this. You just need to create your own Routing class which will extend the CI_Router. Follow the bellow steps: 1. create a php file with name MY_Router.php and put in inside application/libraries directory 2. [...]

Read More»

Install Apache, PHP, MYSQL and phpMyAdmin in Ubuntu

I will show the command and configuration to install Apache, PHP, MYSQL and phpMyAdmin in Ubuntu 1. Installing  Apache Open your terminal and type the bellow command        #sudo apt-get install apache2 It will ask for your password, Type your ubuntu password and press  enter key, it will ask for confirmation Type y and press [...]

Read More»