How to Connect Multiple Database in CodeIgniter


connect-use-multiple-database -codeigniter-codexworld

Generally, one database is used for a single web application. But sometimes we need to use two or more database in a single site. If your application built with CodeIgniter framework, it's very easy to use multiple databases. CodeIgniter provides an easy way to connect and use multiple databases on the same or different server. Only some minimal configuration needed to connect to more than one database in CodeIgniter.


How to Generate SEO Friendly URL in CodeIgniter


generate-seo-friendly-url-codeigniter-codexworld

SEO friendly URL structure is a common technique for search engine optimization. The SEO friendly URL holds the keywords which help to improve the search engine ranking. It always a good idea to make website's URL SEO friendly for getting more traffic from search engines. If your website built with CodeIgniter and you want to create SEO friendly URL for the dynamic contents of the website, there is an easy way for that.


Login with LinkedIn in CodeIgniter


login-with-linkedin-in-codeigniter-codexworld

Login with LinkedIn feature makes web login system completed. It provides an easy and quick way to sign in to the web application without creating an account on that web application. Using LinkedIn login, the users can log into your website with their LinkedIn account without register in your website. This tutorial will show you how to integrate LinkedIn login system in CodeIgniter.


Sending Email via SMTP Server in CodeIgniter


codeigniter-send-email-via-gmail-smtp-server-codexworld

Using SMTP server is always a good idea to send email from the script. Sometimes PHP mail() function fails to send the email to the recipient or deliver email to the spam folder. To avoid this issue SMTP is an effective way to send an email. CodeIgniter Email Class provides an easy way to send email from the PHP script. Also, you can send the email via SMTP server using CodeIgniter Email library.


Login with Twitter in CodeIgniter


Twitter login in CodeIgniter surely helps to make login process smoother for the user. The main facility of Twitter login is the user does not need to create an account for log in your website. They can log into your website with their Twitter account. Also, you can get the user profile details from Twitter when they login with Twitter. This tutorial will show you how to integrate Twitter login in CodeIgniter using Twitter OAuth PHP library.


CodeIgniter File Upload Validation


codeigniter-file-upload-validation-codexworld

CodeIgniter provides a form validation class that helps to validate form fields by writing the minimal code. Generally, we are used required rule in CodeIgniter to validate a required form field. But required rule does not work when you tried to validate a file upload field in CodeIgniter. Using our example code you can implement file or image upload functionality with file input field validation in CodeIgniter.


Download File from Database in CodeIgniter


codeigniter-download-file-from-database-codexworld

CodeIgniter provides some built-in helpers to make easy to implement some useful functionality in the web application. Download Helper is one of them that lets you integrate file download feature quickly in CodeIgniter. The Download Helper have a force_download() function that generates server headers which force data to be downloaded to your computer.


User Registration and Login System in CodeIgniter


User Login System is the most required feature in CodeIgniter framework. CodeIgniter provides many built-in libraries and helpers for implementing user authentication system. We can easily implement the user registration and login system with the session in CodeIgniter. This tutorial will provide a step-by-step guide to building a login system in CodeIgniter with session and MySQL database.


Ajax Pagination with Search and Filter in CodeIgniter


codeigniter-ajax-pagination-with-search-filter-codexworld

Extend CodeIgniter Ajax pagination functionality with search and filter. Search and filtering features are commonly used in every data list. Here we'll show you how to implement live search and filter on the list with Ajax Pagination in CodeIgniter. In our example script, we will fetch the posts data from the database and display in the list. Also, Ajax pagination with search and filter functionality will be added to the post list.