How to Remove index.php from URL in CodeIgniter In CodeIgniter we can design URLs human-friendly or seo-friendly. By default in codeigniter, the index.php is added with the URLs. But we remove the index.php from the URL using .htaccess.
In this tutorial, we are going to learn how to make Facebook like time ago system in PHP. Timeago is the most important functionality for each and every applications, it helps to updating timestamps automatically. Here is the tutorial how to implement timeago in PHP. You have to use the time_stamp() function to display the
Test data generation for MySQL using php Generating test data for MySQL tables is easy and simple. In this tutorial we are going to see how to insert dummy data in MySQL database using PHP and PDO. Most of time we need a test data to test or test the performance of the application. Here
Counts the total number of characters typed in the textarea using jQuery This tutorial shows how to Count character in textarea using jQuery entered in the text field. Code helps to show the notification about the number of characters typed in the text box or If you want to show the entered characters count or remaining
Image Upload In Codeigniter With Watermark This tutorial will show you how to upload an image and watermark the image using Codeigniter. The Watermarking feature requires the GD/GD2 library. Codeigniter image upload library allows us to do image watermark in two ways with small configurations changes. 1. Text watermark.(wm_text) Codeigniter text watermark message will be
Sending email with gmail smtp with codeigniter email library Using SMTP server is always a good idea to send email from the codeigniter. while sending email without smtp(mail()), it may chance to deliver email to the spam folder. To avoid this issue SMTP is an better way to send an email. CodeIgniter have a inbulit
Sometimes we occured with the below issue at the end of the page A PHP Error was encountered Severity: Warning Message: touch(): Unable to create file 2;/home/sessions/intranet_sessionn6cti57kfphajiq1husmhdksjl0ju53q because No such file or directory Filename: drivers/Session_files_driver.php Line Number: 248 Backtrace: A PHP Error was encountered Severity: Warning Message: Unknown: Failed to write session data (user). Please