CodeIgniter

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

Amazing Features of Amazon SES Email Marketing

Amazon Simple Email Sending (Amazon SES) service is a reliable, easy to use, robust, cost-effective and highly scalable email sending service that allows businesses and firms to send transactional and marketing messages in bulk and one has to only pay for what he or she uses. With  Amazon SES, businesses can now access a high-quality, scalable email infrastructure to efficiently and inexpensively communicate to their customers without having a long-term commitment or a minimum chargeable cost. And when it comes to costing, it’s hard to beat Amazon SES. At $0.10 per thousand emails, Amazon SES proves to be a deal worth grabbing. To...
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

Responsive Email Template Builder: Build The Perfect Email!

Have you launched a new product and want to market it via email marketing? Do you want to send bulk emails at super affordable prices? Are you worried about the coding to build Newsletter or campaigns to send to your clients? If anyone of the above is your need...then MailGet is the perfect solution for you.
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

Setup Amazon SES Account – Send Cheaper Emails

MailGet is basically an application through which you can send bulk emails by connecting with any SMTP.  In this documentation, we're going to see the steps that are needed to create an Amazon SES account. Once you have created Amazon SES account, you will get Amazon SES credentials namely “Access Key ID” and “Secret Access Key”, which you will be going to place in your MailGet account. Along with this, you will have to verify the email address also through which you're willing to send emails. Below is the step by step procedure to setup Amazon SES account and verifying the email address. Steps...
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

Amazon SES Email Client: Send Emails 100X Cheaper with MailGet

We used to spend huge amount of money on email marketing. Till last month, we used to pay nearly $395 every month for email marketing services. We thought this should change and thats when we decided to build MailGet. MailGet - Email Service Provider is an Amazon SES email client that use Amazon SES for email sending. MailGet is beautiful, simple and over 100x cheaper than any other email marketing tool available in the market. Read our personal story below. What motivated us to build MailGet ? We are an Internet Company with 2 software products. InkThemes (We sell WordPress Themes here.) FormGet (We sell a form...
Keep Reading

CodeIgniter : Sending Email via Gmail Using SMTP Protocol

Email is nothing but an Electronic mail. It is a method in which an author can exchange digital messages from one or more recipients. Here in this post by the use of CodeIgniter's inbuilt email class you will learn how one can use this CI email library to send emails via multiple protocols (mail, Sendmail, and SMTP). CodeIgniter email library supports multiple features like CC and BCCs, HTML or plain text email Multiple recipients etc. In this tutorial we are going to explain it with an example which will demonstrate you “How to use Email class library in CodeIgniter”. For...
Keep Reading

CodeIgniter JavaScript Class Example

JavaScript is a dynamic language. It is mainly used for client-side scripting i.e.  user requests an HTML page with JavaScript in it, the script is sent to the browser and then browser perform some task like effects, events etc. Here you will learn how one can use CodeIgniter's JavaScript class after loading the provided JavaScript library. Before moving further, first we need to set and configure the path as shown below: Syntax Set this line in "application/config/config.php". [php]// Here is the location, where "jquery.min.js" stored. $config['javascript_location'] = 'http://localhost/codeigniter_javascript/js/jquery.min.js';[/php] To initialize the Javascript class manually in your controller constructor. [php]$this->load->library('javascript'); // to...
Keep Reading

CodeIgniter – Getting Started With MVC

CodeIgniter is a simple web application development framework for PHP . By its modular approach we can use its inbuilt libraries and helpers. It has a three-tier architecture i.e. Model-View-Controller (MVC) which is easy to use by which the functional process logic, data access, data storage and user interface can be developed. You can also refer our previous tutorial For CodeIgniter installation and configuration. What is MVC..? MVC stands for Model, View, Controller. It is a programing pattern used in developing Web applications. This pattern separates the user interface and backend. Using  MVC, developers can implement or modify their interface or back-end without affecting the other files. MVC also increases...
Keep Reading

CodeIgniter Installation and Configuration

CodeIgniter is a simple web application development framework for PHP. By its modular approach we can use its inbuilt libraries and helpers in our application. We can separate logic from presentation by using a Model-View-Controller (MVC) pattern. In this tutorial we are going to explain you, how to install and configure the CodeIgniter framework. Below mentioned are the step by step process and installation instructions that you can follow to get CodeIgniter installed on your local computer. Step 1 : Downloading CodeIgniter Framework   Go to  http://www.codeigniter.com  and download current version of CodeIgniter framework. In this tutorial we are using CodeIgniter 2.2. Step 2 :  Installing and...
Keep Reading

CodeIgniter Image Library For Image Manipulation

While developing any web application there is a need to manipulate image dynamically such as while uploading an image. In this tutorial we are going to explain an example, which shows how to use CodeIgniter's image library for Image Manipulation. You can find Image_Lib.php class inside your CodeIgniter project’s system/libraries folder. First load image_lib library in your Controller. Syntax: [php]$this->load->library('image_lib'); //Once library is loaded, the image library object will be available using: $this->image_lib[/php] Using CodeIgniter Image Manipulation class we can perform following Functionality:- Image Resizing With the help of the resize function, one can easily able to resize the original image. To all the...
Keep Reading

CodeIgniter Calendar Class For Creating Dynamic Calendar

In this tutorial we are going to explain an example, which shows how to use CodeIgniter's Calendar class which enables you to create dynamic calendars. By using calendar template you can format the calendars in your own way as it gives 100% control over every aspect of its design. To load calendar library use: Syntax: [php]$this->load->library('calendar');[/php] You can find Calendar.php class inside your CodeIgniter project’s system/libraries folder Once loaded, the Calendar object will be available using: $this->calendar To display a calendar use the below mentioned code in your controller file. [php]//Like most other library in CodeIgniter, the calendar library is loaded in your...
Keep Reading
‹ 1 … 98 99 100 101 102 … 109 ›
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