cheap accutane without prescription ultracet tabs generic diflucan buy celexa ephedra super caps finasteride india ephedra sale percocet 10 650 mg ephedra online ephedra 25mg percocet 30 mg cheap effexor klonopin price percocet 10-325 finasteride tablets celebrex no prescription amoxycillin generic lamisil drug norco pills accutane from india buy percocet legally amoxycillin capsules acomplia pills finasteride medicine percocet prescription oxycodone cost norvasc 50 how to get accutane without prescription finasteride 90 picture of diflucan generic lamisil now percocet purchase cheap accutane lamisil tablets online ultracet er ephedra fat loss accutane acne treatment percocet 325 lexapro 2.5 mg acomplia cost oxycodone no prescription accutane medication drug effexor xr finasteride in australia lamisil australia fioricet pharmacy cheap effexor xr percocet 7.5 testosterone 250 lamisil discount percocet 5 25 generic klonopin generic nexium testosterone enanthate buy accutane without prescription percocet 2.5 325 lexapro mg lamisil vs generic generic form of lamisil discount rimonabant diflucan medicine nexium 400 mg generic tenuate drug rimonabant cheap ephedra rimonabant usa percocet generic effexor rx percocet pain medication accutane uk rimonabant diet pill effexor online buy prozac norvasc 500 lexapro cost norvasc tablets ephedra cost diflucan generic name celexa pharmacy buy acomplia purchase prozac norvasc canada accutane tablets lexapro 10mg 10mg lexapro testosterone gel price percocet 749 prozac price percocet 3 325 mg prozac 2008 lexapro 15 mg percocet 0636 cost of rimonabant amoxycillin medicine klonopin sale percocet street prices effexor xr prices rimonabant in canada prozac drug buy percocet online without a prescription prescription for lamisil buy testosterone cream fioricet price effexor 150mg lexapro 40 mg percocet 500 amoxycillin 250 mg norco pharmacy percocet with no prescription nexium 80 mg percocet generic name lexapro generic name buy norvasc online norco tablets diflucan usa lamisil alternative lexapro 20 nexium 4 mg norvasc price prozac pill prozac 30 lamisil tablets cost percocet 7.5mg purchase lexapro order fioricet fioricet order nexium 40 mg daily norco online name norvasc tenuate prescription generic accutane prices fioricet cost accutane 10 mg butalbital pharmacy lamisil for sale norvasc 15 cost of lamisil tablets lexapro street value cheap tamiflu otc testosterone tamiflu swin flu celebrex cost ephedra diet pills ultracet 37.5 325 mg accutane from mexico lamisil 1 percocet generics finasteride for sale lamisil cost percocet 15 testosterone cypionate prices norvasc 30 lexapro uk tamiflu 75mg generic effexor xr lamisil 80 mg cheap finasteride order percocet online prozac overnight buy fioricet generic lamisil pills 0636 percocet percocet 7.5 500 5mg lexapro percocet 325 mg norvasc medicine effexor xr capsule accutane price 40 mg ultracet 650 testosterone 200 mg effexor xr 75 order finasteride diflucan pills generic for diflucan percocet 54 543 generic finasteride testosterone 2 cream generic accutane cost ephedra products prozac online norvasc 5mg side prozac uk diflucan drug online tenuate prozac 80 mg lexapro 20 mg buy prozac online cheap norvasc norvasc 7 buy diflucan online percocet 40 mg amoxycillin dp 500mg buy klonopin percocet for sale purchase percocet online buy percocets norco price norvasc picture buy percocet from mexico percocet prescriptions buy percocet online buy rimonabant pill medication for norvasc finasteride 10 buy testosterone suspension buy testosterone gel online butalbital no prescription percocet generic names lamisil tablets dosage percocet sale percocet 932 lamisil 250 mg percocet 5mg lamisil uk percocet order online acomplia tablets finasteride mastercard prozac 5mg rimonabant 2007 buy testosterone cypionate fioricet no prescription celebrex sale lexapro 60 mg generic percocets purchase diflucan effexor canada oxycodone pharmacy lexapro online lamisil purchase celexa cost discount diflucan acomplia sale oxycodone pills klonopin pills celexa pills testosterone 300 512 percocet diflucan 200 buy percocet online no prescription lamisil sale tamiflu price tamiflu sale generic percocet pictures percocet 10mg generic oxycodone accutane 20 mg finasteride 5 mg percocet street name generic celexa fioricet without prescription lamisil 30 ephedra 25 mg effexor xr online buy lexapro online butalbital tablets tenuate 25mg percocet cheap buy rimonabant online cheap fioricet testosterone prices testosterone cream 2 prozac sales percocet prescribing information norvasc 4 lexapro free samples cost of effexor buy celebrex prozac picture buy effexor online buy tenuate ultracet no prescription rimonabant cheap percocet price butalbital cod lamisil india prozac 10 finasteride 10 mg free testosterone tamiflu purchase rimonabant online prozac without prescription lamisil 1x buy diflucan percocet 10 225 dds7i norvasc tamiflu cost cheap celebrex percocet 500 mg prozac 50 mg percocet no rx alternative to diflucan generic butalbital prozac order amoxycillin 250mg tamiflu tablets buy percocet online without prescription rimonabant sale nexium purchase ephedra fat burners rimonabant price effexorxr

Starting Project with Code Igniter [For beginners] Part 01

Framework

codeigniter

System

System folder contains all the framework files including framework build class libraries, fonts, database configuration for your system, languages files, helper classes etc.

Application

Projects basis works will place inside this folder. Projects controller class will be placed inside Controller, projects database related class will be placed inside Model, Template based work will place inside Views folder. User defined libraries will be place inside libraries. Projects oriented application configuration will be done inside config folder such as autoload, routes etc.

Starting a Project

To start a project, some basic configuration needs to done. We will gone through the basic configuration step by step:

· Set the root path for your project

o Open system/application/config/config.php file and then edit the following line as follows:

   1: $config['base_url'] = "http://localhost/ ";

To

   1: $config['base_url'] = "YOUR_PROJECT_LOCATION";

· Set the Autoload functionality

Autoload is a magic function of PHP5.0 which dynamically load the entire user defined or framework based class when you create an instance of a class. So you can defined some default class which will load when the projects run. Like we need the database class library and session class library every time, so you can defined them inside autoload.php file.

o Open system/application/config/autoload.php file and then edit the following thing:

   1: $autoload['libraries'] = array('database', 'session');
   2: $autoload['helper'] = array('url', 'string');

· Set the Project default controller

It is very important which controller will load when a URL is browsed. This is set inside routes.php file.

o Open system/application/config/routes.php file and edit the following line:

   1: $route['default_controller'] = "CONTROLLER_NAME";

· Set .htaccess file for security reason

It is one of the major fact for the programmer to make sure the project security. Therefore .htaccess plays a vital role. We will use mod_rewrite functionality of apache modules. This module is by default inactive. so this needs to activate in the following manner.

o Open the httpd.conf file.

o Search for the line

   1: #LoadModule rewrite_module modules/mod_rewrite.so

o Replace it with the following line:

   1: LoadModule rewrite_module modules/mod_rewrite.so

o Restart apache service.

o Place the following code inside .htaccess file

   1: <IfModule mod_rewrite.c>
   2:     RewriteEngine On
   3:     RewriteBase /YOUR_PROJECT_ROOT_FOLDER_LOC
   4:     RewriteCond %{REQUEST_FILENAME} !-f
   5:     RewriteCond %{REQUEST_FILENAME} !-d
   6:     RewriteRule ^(.*)$ index.php/$1 [L]
   7: </IfModule>
   8:
   9: <IfModule !mod_rewrite.c>
  10:     # If we don't have mod_rewrite installed, all 404's
  11:     # can be sent to index.php, and everything works as normal.
  12:     # Submitted by: ElliotHaughin
  13:     ErrorDocument 404 /index.php
  14: </IfModule>


3 Comments »

  1. Habib says:

    This is what m searching for a week.. i think this is a perfect introduction for beginner (CodeIgniter) like me..

  2. [...] Starting Project with Code Igniter [For beginners] Part 01 Posted by Masud in Apache Server, CodeIgniter, HTML/DHTML/CSS, My Thinking, PHP, Programming on 01 5th, 2008 | no responses [...]

  3. sajeesh.N.S. says:

    I am just a beginner in codeigniter..Can Anybody please help me in finding out the right path for the preparations ..Or please help me in finding out some projects whhich I can understand the basic implementations through codeigniter.

RSS feed for comments on this post. TrackBack URL

Leave a comment

viagra patent expire Viagra Sale viagra anxiety