Tutorialsplane

Codeigniter Path Helper


Codeigniter Path Helper -This helper contains function that returns a server path without symbolic links or related directory structures. An optional second argument will cause an error to be triggered if the path cannot be resolved. $this->load->helper(‘path’); is used to load the helper. The path helper file contains functions that authorize you to work with file paths on the server. Here in this tutorial we are going to explain how to use path helper in codeigniter.


Codeigniter path helper example

Let us first see how to load path helper in codeigniter and then use its function-

Load path helper

How to load path helper in codeingniter example:

 
$this->load->helper('path');

Functions:-

The following functions are available in path helper.

Models

Connect Database

Helpers

Libraries

Helper Reference

Library Reference

Database Reference