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.

Read Full →

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.

Read Full →

Login with LinkedIn in CodeIgniter


codeigniter-linkedin-login-php-oauth-client-library-codexworld

Login with LinkedIn feature provides an easy and quick way to sign in to the web application without creating an account on that web application. The LinkedIn login can be easily integrated using PHP OAuth client on the website. If your web application built with CodeIgniter framework, LinkedIn OAuth library needs to be integrated into CodeIgniter. We will use OAuth 2.0 and LinkedIn login API v2 to build LinkedIn login script with CodeIgniter.

Read Full →

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.

Read Full →

Login with Twitter in CodeIgniter


Integrate login with Twitter in the web application surely helps to make the login process smoother and easier for the user. The main advantage of integrating Twitter login is the user can log into your website using their Twitter account without registration. Twitter API allows to authenticate with Twitter account and retrieve the user's profile information. You can easily integrate login with Twitter using PHP and Twitter OAuth library.

Read Full →

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.

Read Full →

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.

Read Full →

User Registration and Login System in CodeIgniter


codeigniter-user-registration-login-system-tutorial-script-codexworld

User Login System is the most used feature in CodeIgniter application. Like the user authentication in PHP, the user login system can be easily implemented in CodeIgniter with the session. CodeIgniter framework provides many built-in libraries and helpers which helps to integrate registration and login functionality with MySQL database. You can easily implement the user authentication system (registration and login) with the SESSION in CodeIgniter application.

Read Full →

Ajax Pagination with Search and Filter in CodeIgniter


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

Ajax Pagination in CodeIgniter provides a user-friendly way to add pagination links to the data list. Search functionality is very useful to make the data list more user-friendly. Search and filtering features are commonly used in the data list. The search feature helps to filter and find the specific records quickly from the huge number of data. With the Ajax search, you can filter records from the data list without page reload and implement live search and filter on the list.

Read Full →

keyboard_double_arrow_up