CodeIgniter: Creating First Application at CodeIgniter


CodeIgniter Step By Step Tutorial:

As usually, we will create first application by build hello application. But, before write code, we must know that we will build application use Model Controller View (MVC) pattern. We ever talk about MVC at here. Hope you read that posting if you still don’t know about MVC. Although that post about Joomla, it doesn’t matter. It is same.

  1. Download CI from,d.aGc
  2. Unzip & Rename folder to CI
  3. Paste Application Server Root Directory and

Configuring CodeIgniter

Configure Application Base URL. To do this, open up system/application/config/config.php set the application URL

$config[‘base_url’]   =’http://localhost/CI;

  1. First, we make controller, create a file name ” Welcome.php” within: systemapplicationcontrollers. Enter following code:

phpif(!defined(‘BASEPATH’))exit(‘No direct script access allowed’); classWelcomeextends CI_Controller{      publicfunction index()   {// default Method       // load the welcome_message.php view       $this->load->view(‘welcome_message’);


  1. Next step, make a view. Create welcome_mesage.php within CodeIgnitersystemapplicationviews.

<!DOCTYPE html><html lang=”en”><head><title>Welcome to CodeIgniter</title></head><body><h1>Hello World !</h1><div id=”body”><p>Hello World</p></div></body></html>

  1. Now, test your application. Point your browser using this URL http://localhost/CI/index.php/welcome/index


185 thoughts on “CodeIgniter: Creating First Application at CodeIgniter

  1. Positivity differs from optimism in that thinking positive in the face of all situations can be
    used as a tool to effectively manage the health of our
    emotions. Movara Fitness Resort and Spa offers unforgettable hiking, fun and
    engaging fitness and exercise classes, incredible food and life changing education. A detox
    programme may also incorporate complementary therapies such
    as massage homeopathy aromatherapy or even colonic irrigation.

  2. The SBA’s American Recovery Capital (ARC) Loan Program
    will give you Around $35,000 in total capital to businesses that are small that are certified.

    My blog post – auto loans bad credit columbus oh; Garnet,

  3. When you browse the internet, you will find thousands of angry birds stickers are avablie in all
    kinds of websites, you just don’t know how to choose one to buy from.
    Commercial architecture: Commercial architecture is a type of architecture
    which is designed for the public facilities like shopping malls, libraries, government facilities, railways stations,
    landing field, and other community facilities.
    Carpeting and area rugs can be changed with moods and seasons to create a beautifully
    appointed new decor.

    Feel free to visit my page dream wall decor amazon music

  4. En plus d’etre equipe de tout un arsenal d’outils pour
    realiser des groundwork liees au monde de la patisserie et de la boulangerie, certains robots haut de gamme
    font egalement office de robot multifonction en integrant tout un tas de fonctionnalites relavant de la cuisine quotidienne.

  5. With havin so much content do you ever run into any problems of
    plagorism or copyright violation? My website has a
    lot of unique content I’ve either created myself or outsourced but it looks like a lot of it is popping it up all over the internet without my agreement.

    Do you know any methods to help protect against content
    from being stolen? I’d genuinely appreciate it.

  6. Hi, I think your website might be having browser compatibility issues.

    When I look at your website in Firefox, it looks fine but when opening in Internet Explorer, it
    has some overlapping. I just wanted to give you a quick heads up!
    Other then that, fantastic blog!

    Here is my blog: Bdsm

  7. Greate post. Keep posting such kind of information on your page.
    Im really impressed by your site.
    Hello there, You have performed a great job. I’ll definitely digg it
    and for my part recommend to my friends. I am confident they’ll
    be benefited from this web site.

    Feel free to visit my web blog: sph cams [Jannie]

  8. I was recommended this website through my cousin. I’m not certain whether this post is written via him as no one else know
    such specific approximately my trouble. You are incredible!

    Here is my website: sph cams (Zak)

  9. We stumbled over here by a different website and thought I should check things out.
    I like what I see so now i am following you.
    Look forward to looking at your web page yet again.

    My weblog: cruel domme [Mattie]

  10. Pretty great post. I just stumbled upon your blog
    and wished to mention that I have truly enjoyed browsing your
    weblog posts. After all I will be subscribing in your rss feed and I’m hoping you write again soon!

  11. This is the right site for anyone who wishes to understand this topic.
    You know so much its almost tough to argue with you (not that
    I really would want to…HaHa). You certainly put a brand
    new spin on a topic that has been discussed for decades. Great stuff, just great!

    my web-site dominatrix (blogigo.Com)

  12. Undeniably imagine that which you said. Your favorite reason seemed to be on the web the simplest thing to take into accout of.
    I say to you, I certainly get annoyed while people consider concerns that they just
    don’t understand about. You managed to hit the nail upon the highest and also defined out the entire thing with no need side-effects , people could take a signal.

    Will likely be back to get more. Thank you

  13. This design is incredible! You most certainly know how to keep a
    reader amused. Between your wit and your videos, I was almost moved to start my own blog
    (well, almost…HaHa!) Fantastic job. I really
    loved what you had to say, and more than that, how you presented it.
    Too cool!

  14. Incredible! This blog looks exactly like my old one!
    It’s on a completely different topic but it has pretty much the
    same page layout and design. Wonderful choice of colors!

  15. Your credit rating is employed by anyone lending
    you income including credit card companies, homeloan creditors, auto loan lenders and financing

    Visit my web site loans for bad credit in Atlanta Ga, Boyce,

  16. Cut costs, period, and eliminate hassles by at the very least
    understanding where this significant auto signal connection resides
    in your vehicle.

    Here is my web page … best auto loans for bad credit online (Collette)

  17. Hello there! Would you mind if I share your blog with my twitter group?
    There’s a lot of people that I think would really enjoy your content.
    Please let me know. Thanks

    my weblog – (Claire)

  18. Wow, incredible blog layout! How long have you been blogging for?
    you make blogging look easy. The overall look of your site is wonderful, let alone
    the content!

    Also visit my web site … what is nootrobrain (Carla)

  19. It’s in point of fact a nice and helpful piece of info.
    I’m glad that you shared this useful info with us. Please keep us informed like this.
    Thank you for sharing.

    Here is my web-site: pure asian garcinia reviews (Nannie)

  20. I blog frequently and I truly appreciate your information. This great article has really peaked my interest.
    I will bookmark your blog and keep checking for new details about once per
    week. I subscribed to your Feed too.

    My website … geniux side effects (Barbara)

  21. U.S. Real-estate costs that are residential continue steadily to drop in valuation because of tthe
    upsurge in foreclosures -forclosures. and have either a high-school diploma|You possess a
    social stability amount have to bbe 18 Once the escrow company
    confirms that these payments are made, it exchanges tthe name for the new owner and disburses the residual

    Feel free to surf to my blog post – eagle mountain lake homes for sale texas

  22. The company Vivos has received a massive
    upturn of consumers due to their bunkers that are underground.
    Times|the Once the selling iss impending, I work with
    one othr party’s adviser to offer and counteroffer offers on the residence.

    my website :: eagle mountain az homes for sale;,

  23. You actually make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand.
    It seems too complicated and very broad for
    me. I’m looking forward for your next post, I’ll try to get
    the hang of it!

    My blog post: geniux

  24. Excellent post. I was checking continuously this blog and
    I’m impressed! Extremely useful info particularly the last part
    :) I care for such information much. I was looking for this certain info for a
    long time. Thank you and best of luck.

    my website – geniux side effects (Sharyn)

  25. There is a saltwater share just a traditional chlorinated pool maintenance scottsdale az with handle mode
    and an additional salt cell. with more standard characteristics|digitally controlled heaters tto heaters more thaan 20
    The audiobooks assistance it obtained for $300 trillion, clear, is currently picking
    right up the ten-person organization regarding an undisclosed sum.|for
    entertaining within the lovely and warm environment of|while
    inn thee stunning aand hot weather The mixture oof rain that is higher thasn standard and and an empty pool shell increases a clear swimming
    training iin the ground’s danger.

  26. Is your house mccomick ranch patio homes for sale (
    real estate, listing properties for rent sale and reveal by real estate agencies and customers of the public.
    Instances|the The unpleasant Representative impeded all of
    them the way in which , to the level where they could not even go into the

  27. This may save you the shame and stress of being
    refused after spending a significant period of time getting a resdidence
    you prefer and applying mccormick ranch homes for sale
    [] a mortgage.
    Moments|the Because the economy decrease house costs have managed to get cheaper for
    people who could not get yourself a Mortgage previously of.

  28. I have to thank you for the efforts you have put in writing this site.

    I am hoping to check out the same high-grade blog posts from
    you in the future as well. In truth, your creative writing abilities has encouraged me to get my
    own, personal blog now 😉

    Also visit my web page … Femdom Cams

  29. Hi outstanding website! Does running a blog such as this take
    a great deal of work? I’ve virtually no understanding of coding however I was hoping to start
    my own blog in the near future. Anyhow, should you have any suggestions or
    techniques for new blog owners please share. I
    know this is off topic nevertheless I simply wanted to ask.
    Thank you!

    Feel free to surf to my webpage – fetish webcam chat (

  30. Having read this I thought it was very informative. I appreciate you spending some
    time and energy to put this article together. I
    once again find myself spending a significant amount of time both reading and commenting.
    But so what, it was still worth it!

    Here is my web page live femdom cam mistresses –

  31. Excellent pieces. Keep writing such kind of information on your blog.
    Im really impressed by your blog.
    Hello there, You have performed an excellent job. I’ll definitely digg it and in my view recommend to my friends.
    I’m confident they’ll be benefited from this web site.

    1. Hi! [url=]online[/url] , [url=]online pharmacy phentermine[/url] , [url=]free cialis trial[/url] , [url=]buy viagra pills[/url] good web page.

  32. It’s really a great and useful piece of information. I’m satisfied that you simply shared this helpful information with us.
    Please keep us informed like this. Thanks for sharing.

  33. Howdy very cool website!! Guy .. Excellent ..
    Superb .. I will bookmark your web site and take the feeds
    additionally? I’m happy to find so many useful information here in the publish, we’d like work out more techniques on this regard, thank you for sharing.
    . . . . .

  34. Does your site have a contact page? I’m having trouble
    locating it but, I’d like to shoot you an email.
    I’ve got some recommendations for your blog you might be interested in hearing.

    Either way, great site and I look forward to seeing it expand over time.

  35. Great post. I was checking continuously this blog and I’m impressed!
    Extremely helpful information specifically the last part
    :) I care best eye cream for dark circles –,
    such info a lot. I was seeking this certain info for
    a very long time. Thank you and good luck.

  36. Excellent post. I wаs checking continuously tҺis blog and
    I am impressed! Extremely սseful info specially tɦe last ρart :
    ) I care forr uch іnformation mսch. Ӏ was loоking for this ϲertain info fοr a very long timе.
    Thɑnk yοu and good luck.

  37. I love your blog.. very nice colors & theme. Did you
    create this website yourself or did you hire someone to do it for you?

    Plz respond as I’m looking to construct my own blog and would
    like to find out where u got this from. thank you

  38. Hey I am so excited I found your site, I really found
    you by error, while I was researching on Digg for something else, Nonetheless I am here now and would just like to say kudos
    for a incredible post and a all round enjoyable blog (I also
    love the theme/design), I don’t have time to
    read through it all at the minute but I have bookmarked it and also included your RSS feeds, so when I have time
    I will be back to read a lot more, Please do keep up the
    excellent work.

  39. I was curious if you ever considered changing
    the page layout of your website? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so
    people could connect with it better. Youve
    got an awful lot of text for only having one or two images.

    Maybe you could space it out better?

  40. Hi there! I’m at work browsing your blog from my new apple iphone!
    Just wanted to say I love reading your blog and look forward to all your posts!

    Carry on the great work!

  41. Please let me know if you’re looking for a writer for your blog.

    You have some really good posts and I feel I would be a good asset.
    If you ever want to take some of the load off,
    I’d really like to write some material for your blog in exchange for a link back to mine.
    Please shoot me an e-mail if interested. Thank you!

  42. Thak yoս for еvery oher informativе blog.
    The placе else mmay just I get that type of information wrіtten in such ɑ perfect apρroach?
    I’ve a project that I’m just noow оperating on,and I avе beѕen on the
    ɡlance out for such info.

  43. Have you ever thought about writing an e-book or guest authoring on other blogs?
    I have a blog based upon on the same subjects you discuss and would love to have you
    share some stories/information. I know my
    audience would appreciate your work. If you’re even remotely interested, feel free to send me
    an email.

  44. Wow that was unusual. I just wrote an very long comment but after I clicked submit
    my comment didn’t show up. Grrrr… well I’m not writing all that over
    again. Regardless, just wanted to say great

  45. Great website you have here but I was curious if you knew of
    any message boards that cover the same topics talked about here?
    I’d really love to be a part of online community where
    I can get comments from other experienced people that share the same interest.
    If you have any suggestions, please let me know.

    Bless you!

  46. An interesting discussion is worth comment. I think that you should publish more on this topic, it might
    not be a taboo subject but generally folks don’t speak about these subjects.

    To the next! Best wishes!!

  47. Excellent pieces. Keep writing such kind of info on your blog.
    Im really impressed by your site.
    Hello there, You’ve done a great job. I’ll certainly digg it and personally suggest to my
    friends. I’m sure they will be benefited frfom this website.

  48. Nice post. I was checking constantly this blog and
    I’m impressed! Extremely helpful information particularly the last part :
    ) I care for such information much. I was seeking
    this particular information for a very long time. Thank you and best of luck.

  49. Thank you for any other informative website.
    The place else may just I get that type of info written in such an ideal method?
    I have a mission that I’m simply now running on, and I have been at the look
    out for such information.

  50. I like the valuable information you provide in your articles.
    I’ll bookmark your weblog and check again here frequently.
    I am quite sure I’ll learn lots of new stuff right here!

    Best of luck for the next!

  51. Hey! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very
    good gains. If you know of any please share. Thank you!

  52. I am really enjoying the theme/design of your website. Do you ever run into any web browser compatibility
    problems? A few of my blog audience have complained about my site not operating correctly in Explorer but
    looks great in Chrome. Do you have any solutions to help fix this issue?

  53. An impressive share! I’ve just forwarded this onto a colleague who had been doing a little homework on this.
    And he actually ordered me dinner simply because I discovered it
    for him… lol. So allow me to reword this…. Thanks for the
    meal!! But yeah, thanx for spending some time
    to discuss this issue here on your blog.

  54. Football betting can be fun and rewarding,
    but it can also be risky and dangerous. The decision to
    take out Kovalchuk now seems quite poor. If you play a lot of poker and want to know how you are doing
    then it is a good idea to keep track of how much
    money you are spending and how much time you are putting in.

  55. Over the years, lots of people have actually commented that I possess an obvious perk when this pertains to hearing my
    instinct due to my clairvoyant potentials.

    Feel free to surf to my webpage: Chanda

  56. You actually make it seem so easy with your presentation but I find this matter to be actually something which I think I would never understand.
    It seems too complex and very broad for me. I am
    looking forward for your next post, I’ll try to get the hang of it!

  57. Thank you for every other informative website.
    Where else may I am getting that type of information written in such a perfect means?
    I have a venture that I’m just now operating on, and I’ve been on the look
    out for such information.

  58. Pingback: Google
  59. Pingback: eJuice
  60. Pingback: recipes
  61. Pingback: obat klg
  62. Pingback: online selling
  63. Pingback:
  64. Pingback:
  65. Extraction control pills—time again known as “the tablet”— medicament generique du viagra make been touted after their reliability. Experts estimate that they’re more than 99 percent useful when infatuated as directed. But there’s a immense caveat here: Women basic to take their contraceptives consistently and correctly to abort pregnancy.

  66. The National Passive’s Contract of rights and responsibilities sets gone from the clarification rights and responsibilities of people receiving pains within the Maltese healthiness feel interest system and provides knowledge to underpin the clause of safe viagra no prior prescription and high-priced grade meticulousness, and to sustenance a shared understanding of the rights and responsibilities of people receiving care. The Constant’s Franchise is structured roughly the following 8 principles:

  67. Vaccination is awarded representing shorter visits to such additions if the traveler inclination often be then e. Theobald CE Jr, Mats SH, Brood over MJ, et al: Ophthalmic take charge of for adolescents: insufficient induce attests and fewer make us, Hobgoblins 123:e565-e572, 2011. viagra without a doctor prescription. Acetazolamide has been made empirically based on its resembling of hypoxic divisible vasoconstriction in adults and the regular jeopardize of hypotension and suspended tachycardia with nifedipine. Eureka in the of age, mammals investigating tempests of preventing motherhood redness elaborated that smoking the into the bargain numerous intraocular pressure.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>