CodeIgniter

CodeIgniter PayPal Checkout

Suppose you want to sell your product online with a secure payment mode then here is the solution that you can use. The thing we are talking about is a PayPal buy now button. You can use it simply, only you have to generate the code for the button and place it in your website to collect the online payment form in a secure way. Actually the button which is generated is not secure enough to collect the payment, since user can alter the amount if he/she have some coding skills. So we bring up to you a revised code using which...
Keep Reading

CodeIgniter Tutorial

This section is particularly focused on the most popular development framework CodeIgniter that is based on PHP platform. For you we have organized these tutorials in such a way, so that you can use it as a complete guideline for learning. It covers basic to advance level tutorials in a way that you can easily get familiar with and can develop beautiful and robust application using CodeIgniter. So before getting started with the the sequential tutorial list, will let you know a gist about CodeIgniter and its usage. What Is CodeIgniter And Why Use It? CodeIgniter is one of the best...
Keep Reading

CodeIgniter : Create Own Helper

The helper is used as a function library, by this we can just load a helper class in the controller or view as well. CodeIgniter provide different types of helper class, such as url_helper, captcha_helper ,email_helper etc. They all are located in system/helper. In this tutorial we are going to explain how you can create your own helper class. Here we have created helper called imagetodata. By using the function, we can convert image to data Step to creating imagetodata helper Create a new file called  imagetodata inside application/helper folder. Define function here. Load that helper in controller or even you can load...
Keep Reading

CodeIgniter : Remember Me Login with Example

In this tutorial, we will learn to active remember me checkbox  while login a page. This concept is basically used when we want to remain login on a page and on sudden system failure or shut down and browser failure. In such situation, we store remember me value submitted by users in session and use it in different pages of our application until users get logout.  You can also refer our live demo or download the Script file. Extract the downloaded files, save it in your local server and run it using given path  [code]http://localhost/ci_remember_me/[/code] To create a login form...
Keep Reading

CodeIgniter : Resolve “MySQL Too Many Connection Errors”

In this tutorial we are going to see  "How one can solve too many connection problem in mysql using CodeIgniter".  This error usually occurs if your scripts open persistent connections, which aren't closed even if the script terminates, this means that all available connections are in use by other clients. Now Exactly what are persistent connections..??  Persistent connections are links that do not close when the execution of your script ends. When a persistent connection is requested, PHP checks if there's already an identical persistent connection (that remained open from earlier) - and if it exists, it uses it. If it does...
Keep Reading

Codeigniter URL Routing, Suffix & Enable Query String

In this tutorial, I've tried to give an overview with basic code examples on URL Routing, URL Suffix and URL Enabled Query String. Now the Question is Why it is Required..?? Through CodeIgniter URL Routing a user can present their web page in a more beneficial way, so as to make more sense to visitors and to search engines as well. By default, URLs in CodeIgniter are designed to be search-engine and human friendly. Through this user actually knows what contents a page contains just by checking the URL in the browser's address bar. Hence, URL Routing is a technique which converts these SEO friendly urls to...
Keep Reading

CodeIgniter Convert Query to Json & Insert Into Database

In this tutorial, we will learn to convert CodeIgniter query to json and also to insert them in our database. It is difficult to store an array in database which contains a lots of user data. We will have to make a lots of indexes in array in order to store them in database. In such situation, json is very helpful. Using json function we can convert array values into json string and store them easily in database. Whenever we need the data, we can again convert  json data back into array. Syntax : [php]json_encode();     // Convert array into...
Keep Reading

CodeIgniter: Language Class

In this tutorial, we will learn how to use CodeIgniter's Language Class. Using this class we can create application in any languages of our choice. CodeIgniter Language class provides various functions which will help us to retrieve various language files and the line of text present in the file. This class is basically used for the purpose of multi-language internationalization. If you want to know more about CodeIgniter Session, you can follow our blog posts Session In CodeIgniter and CodeIgniter Simple Login With Sessions. We will use CodeIgniter Session and CodeIgniter Language class in building the contact form through which user can view form...
Keep Reading

CodeIgniter Template : Adding Header, Footer and Dynamic Content

CodeIgniter MVC work on a separate layer, applying MVC pattern, it is recommended that header, footer, side menu bar should be separate. Benefits of using these architectures are. If your website contains multiple pages and all have a header, footer and menu bar and if you want to make some changes on header so you do not need to apply changes on every page. Just go to your header page for changes.Now that changes will apply automatically on every page. In this tutorial we are going to explain how we can create a header, footer and sidebar menu ,three different...
Keep Reading

CodeIgniter URI Segment

Using CodeIgniter URL class's function, we can retrieve information from URI string. In this tutorial we are going to explain how we can use the URI class in CodeIgniter to retrieve information from URI segment. Note: This class is initialized automatically so we do need to do it manually. $this->uri->segment(n) Segment function allow you to retrieve a specific segment form URI string where n is a segment number.Segments are numbered from left to right.For example,if  your URI like. By the above example URI segment function give result by n parameter. [php]echo $this->uri->segment(1);//it will print blog echo $this->uri->segment(2);//it will print language echo $this->uri->segment(3);//it will print php...
Keep Reading

CodeIgniter xss_clean Example

XSS means Cross-site scripting, which is a type of security vulnerability found in web application. The XSS technique commonly used to trigger Javascript or other types of malicious code that attempt to hijack runnable code. Usage of xss_clean(), we can stop the data and filter up, if any disallowed data is encountered it is rendered by xss_clean function and safe convert into the character entities. Without the using of xss_clean(), encountered data via cookies and post, get method directly applied to the code, which is harmful. Codeigniter provides "security" class which contains methods that help you create a secure application. For sanitizing a particular data you...
Keep Reading

CodeIgniter : Loading CSS and Javascript File

CodeIgniter use Model-View-Controller (MVC) architecture which work on three-tier architecture all the layers is separate. In CodeIgniter  it is recommended that .css and .js file should be placed in CSS and JS folder. In this tutorial we are going to explain how we can use external css and js in CodeIgniter. To integrate external css and js file in CodeIgniter, do following steps : Download CodeIgniter from there website and extract them in your local server. Now create css and js folder in your project root directory. Copy your .css file in CSS folder and copy .js file in JS folder. For base_url()...
Keep Reading

CodeIgniter Global Variable

In this tutorial, we will learn to create Global Variables in CodeIgniter. Now Why Exactly do we use it..?? Its all because Global Variables are available in every scope and holds static information. It makes the information very convenient and simple to update and can probably be modified from anywhere. Now when it comes to define them in CodeIgniter, there are several ways do that. I've listed some of them below: 1.  Create your own file in application/libraries in which class constructor contains an array as an argument. Now create a new file in /application/config with same name as given in application/libraries and declare your...
Keep Reading

CodeIgniter: Access Third Party Libraries

In this tutorial we are going to explain how we can use third party folder in codeigniter to save and access another libraries class. Follow up the guide to learn more.
Keep Reading

Login With Google CodeIgniter : OAuth API PHP Client

Google's OAuth 2.0 APIs can be used for open authentication. By this we can access user's data from server after authorizing user via Google account. In this tutorial, we are going to explain how you can implement Google open authentication to connect with your website using CodeIgniter. You can achieve this login mechanism using Google API php client. To start with this, first Download the Google API php client and save it in your CodeIgniter’s libraries folder, which you will find inside ci_google_oauth > application > libraries. Here ci_google_oauth is the base folder of program file.   You can also refer our live demo or download the Script file. Extract...
Keep Reading

CodeIgniter Shopping Cart Sample

A shopping cart is a software package and Ecommerce application that acts as an online store's catalog and ordering process. When a user is browsing your site at that time Cart Class allows the items to be added to a session that stays active . These items can be retrieved and displayed in a standard "shopping cart" format In this tutorial, we are going to explain how we can use "Cart class in CodeIgniter". This cart class allows us to add and remove products to a shopping cart and to update them. The Cart Class only provides the core "cart" functionality.  It does...
Keep Reading

Login With Facebook PHP CodeIgniter : OAuth Login

OAuth is simply an open authentication that is used for providing access to the server data after authorizing a user via third party services. In this tutorial, we are going to explain how you can implement Facebook login via open authentication to connect with your website using CodeIgniter. You can achieve this login mechanism using Facebook  PHP SDK. To start with, first Download the Facebook PHP SDK and save it in your CodeIgniter's libraries folder. Before running script, generate your Facebook app id and Facebook app secret key, for this follow up the below given steps:   You can also refer our live...
Keep Reading

CodeIgniter : URL Helper Functions

CodeIgniter’s URL helpers are groups of utility functions which will help you to call ,create and maintain url. It mainly have more than 20 helpers some of them you might be familiar with are URL, email, form etc. These are some common helper functions that generaly used in web based application for email, files, URLs. You will feel the need of these CodeIgniter helper functions when you have to repeat lots of code like calling base URL, formatting dates, sending emails. In this tutorial we will give you brief description about how to use “URL Helper” in CodeIgniter which will...
Keep Reading
1 2 3 ›
Our Solution
  • Subscription Billing
  • Form Builder
  • Email Marketing
  • Email List Cleaning
Connect With Us
  • Contact Us
  • Careers
Company
  • About Us
  • Privacy Policy
  • Terms and Conditions
  • Affiliate
  • Branding
Resources
  • Blog
  • Blog Categories
  • FormGet Features
  • Email Templates
  • Form Templates
CodeIgniter
Analytics
CodeIgniter

FormGet © 2021. All rights reserved.

Made with love for you