Blogging about the Internet, Web Design and Publishing, Business and Entrepreneurship

CodeIgniter Tutorial


From the past few weeks I’ve been going back and updating my previous tutorials namely, the html introduction, html basic tags and the html anchor tag tutorials.

However, during the html tutorials preparations, I thought of introducing a codeigniter tutorial series. Wait a minute! What exactly is CodeIgniter?

What’s CodeIgniter?

codeigniter tutorialIf you have been a PHP programmer for a while, I can be sure that you have some knowledge of the existence of PHP frameworks.
PHP Frameworks were created to give a PHP programmer a structure he can use across different applications.
PHP frameworks are designed to help PHP programmers create code with less time. I encourage you to read more about Model-View-Controller to get a better grasp of how PHP frameworks works. For the meantime, let’s get back to our CodeIgniter tutorial.

The CodeIgniter website refers to CodeIgniter as:

[CodeIgniter is] an Open Source Web Application Framework that makes writing kick-ass PHP programs simple as apple pie

From what I have been hearing, it is absolutely true :) Now let’s get on to the installation part.

CodeIgniter Installation

Installation of CodeIgniter is much simpler than apple pie.

  1. Download the latest version of CodeIgniter
  2. codeigniter tutorial

  3. Extract CodeIgniter zip folders and files into a folder on your web server.
  4. codeigniter tutorial

  5. Open up the CodeIgniter config.php file located at application/config/config.php.
  6. codeigniter tutorial

  7. Update the CodeIgniter base_url. In my case, I set my base URL to http://pinoytech.org/ci/
  8. codeigniter tutorial

    codeigniter tutorial

  9. That’s it! There no number 5!

CodeIgniter Security

Security is of course a main priority for all applications. CodeIgniter gives an option for CodeIgniter users to increase security by renaming the CodeIgniter system folder.

codeigniter tutorial

Do remember to rename the $system_folder setting in the index.php file located at your root installation.

We won’t be stopping at the CodeIgniter installation. In the next few weeks or months, I will go in-depth into this PHP framework by giving more CodeIgniter tutorials. I hope to see more CodeIgniter users next time :)

PinoyTech Morning Roundup: The Centennial Edition


I am writing this blog post to inform everyone that I have reached 100 posts on my beloved personal blog. I want to thank everyone who has been a part of my blogging experience. I have to thank The_Chemist, McBilly and SVB for being inspirations for me to go on and blog.

To celebrate, I will post my best blog posts:

Here are more interesting blog posts from the blogosphere:

The Magic of Thinking Big: You Are What You Think You Are


This is the seventh discussion in a book review series on The Magic of Thinking Big by David J. Schwartz, which focuses on setting goals high and achieving success.

The Magic of Thinking BigHere, the book takes what I at first thought was strange. I was intrigued by how you can be what you think you are.

David uses an example how people behave around people. When some people greet, Some receive a kind of treatment while others are treated very differently. Another observation opened up by David is how people command confidence and respect while others do not.

Look Important

Whenever you look at a office executive, you see that he commands respect from all his staff. Whenever you look at a bum on the street, you think he has no future. Why is that? It’s because of appearance. “First Impressions Lasts”, is a slogan by Axe Cologne is a very honest description of what David is trying to say. Your appearance will be the first thing to communicate who you are, even before you have spoken a word.

Dress Right and Look Important!

Think Your Work Is Important

David shares a story I read in one of John Maxwell’s books:

There’s a story often told about the job attitudes of three bricklayers. It’s a classic, so let’s go over it again.

When asked, “What are you doing?” the first bricklayer replied, “Laying brick.” The second answered, “Making $9.30 and hour” And the third said, “Me? Why, I’m building the world’s greatest cathedral.”

Who do you think would work at his best capacity? Let me answer that for you. The third bricklayer. He sees his job as a very important one that will help in building a very important project. He will do his best because he knows that it is part something much bigger. Now, try thinking of your job as a job that helps the company move progressively. Doesn’t it put things in a different light?

Give Yourself a Pep Talk

The author recommends creating a sell yourself to yourself commercial. This commercial would sum up your assets and your points of superiority.

This is something I do every time I go for an interview or go on a sales meeting. I tell myself that I am someone important. I have skills unique from everyone. I have intelligence unique to anyone. I don’t have to be shy. I don’t have to fear the other person. I haven’t gone to that extent of writing a “Thorpe Obazee 60-second commercial” but mine works.

Upgrade your thinking

This part of the section sums up what to ask yourself in different situations.

When you worry, ask yourself, Would and important person worry bout this?

When reading, ask yourself, Would an important person be reading this?

When losing your temper, ask yourself, Would an important person get mad at what I’m mad at?

Ultimately, you should ask yourself in every situation, Is this the way an important person does it?

The next discussion, will cover the seventh section of The Magic of Thinking Big (Manage Your Environment: Go First Class).

The Magic of Thinking Big: How to Think and Dream Creatively


This is the sixth discussion in a book review series on The Magic of Thinking Big by David J. Schwartz, which focuses on setting goals high and achieving success.

The Magic of Thinking BigThe fifth section of The Magic of Thinking Big starts off with the traditional way of looking at creative thinking. That is only through science, engineering, arts and writing people thinking creatively. However it is not only through these are people supposed to think creatively.

What then is Creative Thinking? David J. Schwartz defines creative thinking as simply finding new, improved ways to do anything.

A parent who finds way to budget his money in order to buy a house in the next five years is thinking creatively. A person who builds a business from scratch is thinking creatively. A salesperson who finds a way to double his sales is thinking creatively.

Believe it can be done

In order to think and dream creatively, you must be open to new ideas. Believe that nothing is impossible. Make a shift of belief and you’ll think of creative ways to prove that you’re right.

Just a few months ago, a friend of mine started this blog with little to no knowledge about blogging. The blog is now receiving a good amount of traffic that is earning him substantial income. All thanks to making creative tutorials and blog posts.

Becoming an experimental person can pay off in a lot of ways. You can consume less time by using one method and you can consume more time using another. Some methods drain you physically and some ways do not. Still, there is no best method to do any task. With this in mind, you always have room to think of how to improve the present way of doing things.

Asking and Listening

Big people monopolize the listening
Small people monopolize the talking

In order to be successful you have to act like a sponge. Top leaders in many organizations spend time listening and requesting advice from other people. Why is this? It’s because leaders make decisions by manufacturing thoughts and ideas of others. While it is not a good approach to expect ready-made solutions, ideas of others will help spark one’s ideas for more creativity.

The next discussion, will cover the sixth section of The Magic of Thinking Big (You Are What You Think You Are).