To remove index.php from URL in codeigniter, we create ".htaccess" and place it in root directory of codeigniter.
RewriteEngine on RewriteCond $1 !^(index\.php|images|robots\.txt) RewriteRule ^(.*)$ /index.php/$1 [L]
Sample file structure given below.
Note:In mycase CodeIgniterFolder is main folder.
TCPDF is PHP class for generating pdf documents.Here we will learn TCPDF integration with CodeIgniter.
CodeIgniter's Email Class support following features.
you do not need to load constants anywhere,they are automatically loaded by CodeIgniter.