How to delete index.php from Codeigniter in localhost

If you have installed a codeigniter in XAMPP and want to delete index.php in your URL, this is how I did it.

For example your URL is,

http://127.0.0.1/ci_cms/index.php/admin/users/manage

And you want to make it to,

http://127.0.0.1/ci_cms/admin/users/manage

Firstly, it does not matter if you move application folder out of system folder or [...]

Automatically Loaded Class/Library List of Codeigniter

The followings are the list of library which is initialized automatically.

Benchmarking Class Controller Class Config Class Input Class Loader Class Output Class URI Class

Additionary Profiler Class: This class does NOT need to be initialized. It is loaded automatically by the Output Class if profiling is enabled. http://codeigniter.com/user_guide/general/profiling.html

How to install and control IIS on Vista

Here you can find how to install IIS on Vista. You don’t need to install VPASP, but you can install other application. However if you need to use a database, then you need to research a bit more.

After installing IIS, you can control it by start and right click computer and [...]

Naming conventions for Codeigniter

Class names must have the first letter capitalized with the rest of the name lowercase in cotoller and model.

class Blog extends Controller { function index() { echo ‘Hello World!’;} } class Model_name extends Model { function Model_name() { parent::Model(); } }

However you don’t need to have a capital letter for [...]

How to add httpd.conf to XAMPP

I was reading “Practical web 2.0″ by Quentin Zervaas. In chapater 2 there is a section which adds httpd.conf to folder. I struggled a bit but I made it finally. This is how.

My directory structure is like this.

-hdocs -phpweb20 -data -htdocs -include -templates -httpd.conf

I added the following to httpd.conf

<VirtualHost [...]

How to start Zend Framework in Xampp

I am using XAMPP and I just downloaded Zend Framework 1.9.2. I moved that folder under htdocs. I also created a folder called zendpractice in htdocs. Then Start> Start search, type cmd. You should have a cmd.exe pop up.

Type the following in cmd.

cd c:\xampp\htdocs\zendpractice

Hit enter. Then you will see c:\xampp\htdocs\zendpractice>. [...]

How to send email from your own localhost

email180

Continue reading How to send email from your own localhost