Encryption

Encryption and Decryption In CodeIgniter

Data encryption and decryption is nothing but just converting a plain text into something that appears to be random and meaningless and vice verse. Generally this encryption is opted by the developers to make the data secured like for password, URL, credit card numbers and so on. If you are using CodeIgniter than to encrypt the data becomes much more easier as compared to native PHP code. As C.I. provides its own encryption class which you can use to encrypt or decrypt the data. To initialize the encryption class one must have to load the library as shown below: [php]$this->load->library('encrypt');[/php]...
Keep Reading

CodeIgniter Captcha Helper Example

Mostly in web applications there is a need to protect your website from getting spammed. So we need to create a Captcha spam protection to stop the spamming activities. This blog post demonstrate you, how to implement  simple captcha using CodeIgniter captcha helper file. Captcha is basically a random generated captcha string and which can be stored in session variable for further use. After that, the generated string is bunched with an image to pretend as a single image in such a way that only human being is able to read it. If a "word" is not supplied, the function will...
Keep Reading

CodeIgniter HTML Table Library

We are going to explain you how we can use CodeIgniter Table Library efficiently to create HTML table. The functions in Table Class enable you to auto-generate HTML tables from arrays or database result sets. The Table class also allow you to set a table template that helps to specify the design of your layout. Here is the template prototype: [php]$tmpl = array ( 'table_open'          => '<table border="0" cellpadding="4" cellspacing="0">', 'heading_row_start'   => '<tr>', 'heading_row_end'     => '</tr>', 'heading_cell_start'  => '<th>', 'heading_cell_end'    => '</th>', 'row_start'           => '<tr>', 'row_end'             => '</tr>', 'cell_start'          => '<td>', 'cell_end'            => '</td>', 'row_alt_start'       => '<tr>', 'row_alt_end'         => '</tr>', 'cell_alt_start'      => '<td>', 'cell_alt_end'        => '</td>', 'table_close'         => '</table>' ); $this->table->set_template($tmpl); [/php] In this demo we will show...
Keep Reading

CodeIgniter Select By ID and Date Range

In this  tutorial we are going to explain you  how to perform CodeIgniter select query to fetch data from database using date range and ID. In this demo we are  using input box and date selector. In input box you can enter an ID which you want to search and  using date selector you can search data for a particular date or for a date range. Now one can easy find a records between the two given date ranges. Watch our live demo or download the Script file from below link, extract files and run on your Local server. -: See Also...
Keep Reading

Pagination In CodeIgniter With Example

This tutorial will demonstrate how to make “Pagination in CodeIgniter”. In this post we used CodeIgniter pagination class by initializing pagination library. Pagination is one concept used for web applications. Wherever we have a bulk of data and need to show them, then it allows you to navigate from page to page, at that time we require pagination. It looks like: [php]« First  < 1 2 3 4 5 >  Last »[/php] As a robust framework, CodeIgniter provides very efficient way to handle it with its integrated support. In this tutorial, we will see through an example, how we can implement CodeIgniter pagination and enhance it further as per...
Keep Reading

CodeIgniter Remove index.php By .htaccess

In this tutorial I am going to show how to remove index.php from URL using .htaccess file in CodeIgniter. htaccess is the shortened used for Hypertext Access, which is a powerful configuration file that controls the directory ".htaccess". It is used by Apache based web servers to control various server features. Now The Question Arises Why Exactly do we want to remove index.php..?? As CodeIgniter's URLs are designed to be search engine friendly and to human too. And so to maintain the standards we need to remove the default index.php which appears in the url of codeigniter applications, so that...
Keep Reading

Session In CodeIgniter

Sessions are one of the most important part for any web applications, as it helps to maintain user's "state" and to track their activity when they visit your website. Here we have use CodeIgniter's session class that will maintain and help to store session information for each user. To use this class you need to first initialize or load the session library of CodeIgniter in your controller constructors or you can also go for $autoload in config file, so that it can be auto-loaded by the system. To load session library manually use below code - Syntax: [php]$this->load->library('session');[/php] Note: The...
Keep Reading

CodeIgniter jQuery Ajax Post Data

jQuery’s Ajax methods really made easy to post a data and return that data without refreshing the page. We can apply this jQuery Ajax post in CodeIgniter as well. Syntax for Ajax: [php]$.ajax({name:value, name:value, ... })[/php] Before proceeding further we consider that you are a bit familiar with CodeIgniter PHP framework. With the help of an example you will learn how to post data to a controller using the CodeIgniter jQuery Ajax method. In this post we have created two files  ajax_post_view.php in view folder and ajax_post_controller.php in controller folder. The Ajax code in a view page will look like as...
Keep Reading

CodeIgniter Simple Login Form With Sessions

In this tutorial, we are going to learn about creating a simple login form in CodeIgniter. In login form, we made registration module, login module and admin panel using sessions. We also have a paid ready-to-use advance login & registration module built on CodeIgniter that you can check out at CodeIgniter Login Registration Form. Creating sessions in CodeIgniter is different from simple PHP. I will give you detailed information about all the method as we move further in this tutorial.    Watch the live demo or download code from the link given below   Note : You can also refer the  PHPProjectInstall.pdf...
Keep Reading

CodeIgniter Form Helper

In this tutorial we will give you brief description about how to use "Form Helper" in CodeIgniter which will help you in making a form input tags. The process of making a form in CodeIgniter is quite different as we used in HTML. So, a user must have proper knowledge about it in order to use it properly. Form Helper files basically contains functions which are needed to create different segments of  a form (e.g inputbox , submitbutton , dropdown boxes etc.) in CodeIgniter. To use these functions it is needed to load a form helper library. So, let's begin...
Keep Reading

CodeIgniter Date Format Form Validation

This tutorial is very useful if you are looking to validate date format through CodeIgniter form validation library. Using this CodeIgniter validation library you can set as many rules as you want for a given field. To set rules for validation use : Syntax: - [php]$this->form_validation->set_rules(); [/php] With the help of an example we will let you know how it works. In this example we have created a form containing name and date field. We have used here a text box for date input as some times users also demand for it. We have used dd/mm/yy date format and set...
Keep Reading

CodeIgniter GET And POST Form Input Method

In this tutorial we will give you brief description about form submission in CodeIgniter using get and post method with database connectivity.
Keep Reading

Codeigniter Form Dropdown – Insert and Read using Database

This tutorial will emphasize on how can store the selected values from dropdown into database and to display it in front end using insert & select MySql queries.
Keep Reading

CodeIgniter : PHP Curl library with SSL Example

In this tutorial, I'll give you brief description on using PHP cURL library or function in CodeIgniter. Now what is cURL and Why it is being used..??  cURL stands for 'client URL'. In PHP cURL library let you make HTTP requests. PHP supports libcurl that permits to connect and communicate with different types of servers protocols. cURL is used to get content from another websites through the applications. It is also used to post data to another website and download files via FTP or HTTP in short helps you manipulate the data. Hence,  it allows your application to act like a user accessing a website. Download The Script Used For Data Retrieval Via Curl Steps To...
Keep Reading

CodeIgniter Image and File Upload

This post is about CodeIgniter(C.I.) file upload. By the use of file uploading class, you can easily upload a file or an image. One can easily validate and restrict file type, its size and can even provide various preferences while uploading a file or image. Using CodeIgniter Image Upload example, we will teach you how an image or a file gets uploaded to an upload folder or a targeted location. Below is our complete code with live demo and download code option.    Watch the live demo or download code from the link given below Note: Download the file and...
Keep Reading

Ajax Image Upload using PHP and jQuery

In this blog post we have covered one of the topic of ajax i.e. to upload images using Ajax and php without page refresh.   Short Description :  In this process the image is selected first and previewed before storing it in to any location . Then using  jQuery Ajax, it is send to php script on submit button event. PHP script stores the image in a defined location and returns the message of the success and failure of the process. Here we have applied some validations on the selected file, to check it whether it is an image file (jpg, jpeg or...
Keep Reading

CSS: Background Gradient

In this tutorial I am give you brief explanation about CSS Background Gradient property used for background to display smooth transition between two or more colors which was not possible earlier, as earlier we use to put image or other alternative approach for such effects. Gradient is nothing but a color that fades into another. Types Of Gradients: 1.  Linear Gradients You can create a linear gradient by defining an axis. It can go from left-to-right, top-to-bottom or at any angle your choice. There is one thing you need to keep in mind i.e. define at-least two color stops. Color stops are...
Keep Reading

CSS: Background-Image & Background-Repeat

In this tutorial I am going to give an overview on: Background-image, a css property that sets one or more background images for an element like div, paragraph etc., which by default gets placed at the top-left corner of that element, and can be repeated vertically and horizontally or both by using Background-repeat property.  Through this tutorial you will know different variations in order to place your background image.  You can set one or more images in the background as: [css]background-image: url("image1.jpg"), url("image2.jpg");[/css] Syntax For Background-image: [css]background-image: url|none|initial|inherit;[/css] Where: [css] url:   Url of the image. To set more than one image, place the urls separated by a comma...
Keep Reading
‹ 1 … 99 100 101 102 103 … 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
Encryption
Analytics
Encryption

FormGet © 2021. All rights reserved.

Made with love for you