Saturday 22 October 2016

Remove index.php from url in codeigniter

Step 1. Create a file named " .htaccess " in parent directory of the codeigniter application. (remember the dot before the name of file)

Step 2. Copy and paste the following codes in the file and save.

<IfModule mod_rewrite.c>
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

Step 3. Check the url of your controller without "index.php". 

If it does not work, read the following instrunctions for further configuration. 

The .htaccess,  you just created, rewrite the url by removing index.php and these lines are defined in regular expression. But for the .htaccess file to work, Apache server( or any of your web server) needs certain configuration. 

To allow apache to use .htaccess file you will have to " Allow Rewrite rule" and if you want to do that follow these instructions step by step.

Step 1. First of all don't mess with the file you created earlier name .htaccess and leave that file as it is. 

Step 2. Go to your apache root folder and open apache2.conf( In linux) and httpd.conf(in windows)

For linux the path is /etc/apache2/apache2.conf

For windows the path is c:/wamp/bin/apache/httpd.conf 
 (you can also directly open the file from windows task bar) 

Step 3. Change inside <Directory /var/www> tag
  AllowOverride None to AllowOverride All


Step 4. Save the file and exit. 

Step 5. Open terminal and type commad a2enmod rewrite and your are done.

Congratulations !

Now you apache server is configured to allow .htaccess file to rewrite your URL.

For summer training and workshops 




Saturday 13 February 2016

How Web based online Information System is better than Offline Information System

Until the 1990s, before the widespread adoption of personal computers and the Internet, companies were using information systems to manage data processing and record-keeping activities associated with business transactions like maintaining the general ledger (book keeping), payroll, billing, inventory management, etc. The focus was mainly on maintaining files and databases related to day-to-day operations. Communications, both internal and external, relied on paper, telephone, faxes, and other analog media. Today, companies have eliminated the inaccuracy of paper-based tracking by implementing ERP systems. 63 percent of companies used their ERP software to eliminate inefficiencies in processes such as order tracking.

Drawbacks of offline information system

Many reasons you have to eliminate the offline information system like:-

1. Access Time

One of the primary disadvantages of traditional file systems is the time it takes to access data. It can take minutes if not hours to locate a few files in a large paper filing system. Electronic databases allow for almost instantaneous access to information. Faster data access time can increase the productivity of managers, analysts, accountants and other workers who use data on a regular basis.

2. Editing and Communication

Traditional file systems are cumbersome in that they do not allow users to easily edit files or send information to others. Paper files often cannot be edited directly, forcing users to make new copies to update old files. To distribute data on paper files, users must mail, fax or scan the data. Databases allow users to edit information fields directly, and because information is stored digitally, it is already in a form that can be easily transmitted.

3.Order of data

Data can get out of order in traditional filing systems. If someone accidentally puts a file in the wrong place, or takes a file out of a cabinet and forgets to put it back, it can lead to lost data or the creation of additional copies of files. Electronic filing systems allow users to quickly check whether information already exists somewhere in the system, which helps avoid problems like redundant files and data loss.

Importance of Online Information system in Organizations
As companies try to reduce costs, improve productivity, employers are looking to ERP systems to help them grow and remain competitive globally. Information systems have enhanced productivity for businesses.

Online information system provide key factor to reduce cost and maximize profit to achieve your organization goal. 


Part of management is gathering and distributing information, and information systems can make this process more efficient by allowing managers to communicate rapidly.

How you manage your company's operations depends on the information you have. Information systems can offer more complete and more recent information, allowing you to operate your company more efficiently.

The company information system can help you make better decisions by delivering all the information you need and by modeling the results of your decisions. A decision involves choosing a course of action from several alternatives and carrying out the corresponding tasks. When you have accurate, up-to-date information, you can make the choice with confidence.


Your Company needs records of its activities for financial and regulatory purposes as well as for finding the causes of problems and taking corrective action. The information system stores documents and revision histories, communication records and operational data.

Friday 12 February 2016

Five Benefits Of Implementing an ERP System to Your Business

There are many advantages of an ERP System for managing a business despite of being small or big. We already know ERP Systems provide thousands of advantages like better productivity, timely delivery, improved efficiency and reduced cost. Still many businessmen are skeptical to implement new ERP system and migrating all their process from old standalone off-line system to the new one. Even when they know all the advantages of implementing an ERP system.

In short we say that ERP helps in integrating all the business processes and management functions togehter, including planning, inventory/material management, order processing, manufacturing, supply chain management, purchasing, accounting and finance , human resource and the most important one sales and marketing. Here I'm listing some critical benefits .........

1. Integrated Business Processes 
As we already got the idea of integration, ERP fills the void partitions between the different departments and business processes. It provides a platform to share all the information flowing thorough the entire enterprise. It improves the real time information availability helping in making quick decessions

2. Improves Efficiency
ERP reduces the redundancy of data and repetition of tasks. The output from one department is directly available to process further in other departments. It also streamline business processes and increase the speed of over all production.

3. Reduced Cost
ERP immidiatelty reduces operating cost by reducing the time and avoiding repetition of tasks automatically reduces cost of production. It helps in better management of the available resources. It reduces inventory cost, production cost and marketing cost.

4. Real-time Reporting
The very fist visible results are the real time report generation capabilities of an ERP system. You no longer needs to wait for the end of the quarter for your acountant and finance manager to prepare report for. Now with ERP system you can get what you want to know about your company at anytime and anyplace. It provides better visiliblity ot day to day tasks of the organization.

5. Standerdized Business Processes
ERP systems are developed after integrating many years of experience of the processes of large successfull companies. Thus they follow standard business processes and best practices already proved in the market. So by implementing an ERP system also helps standerdizing the business processes of the organization. ERP also provide security with mulity layer of access permission and authorities depending upon the designation of the users.