Codeigniter has a number of libraries and helpers which you can use for making your code reliable and bugs free. CI provides an extensive library of common usage classes. Upload class in Codeigniter provides us a simple and easy way for uploading files on server.
Similar Posts
Live Username Availability Checking using Ajax and jQuery. Demo Available
Simple script to check username availability using jQuery and Ajax. Try out demo and use it. I used gif loader and jquery fade in effects to make it fit….
Ajax Domain Checker Application with JQuery and PHP
My Facebook-style tutorials are very popular among you people and Almost 5000 downloads have been counted for the Facebook wall script application. Thank you to all who like and…
Ajax Pagination: Fresh Ajax pagination using PHP jQuery and mySQL. Part 3
Today i am going to build a simple ajax based pagination system with overlay loader to put some attractive look. Demo and code available.
Fresh JQuery Image Gallery with Captions and Auto Play/Pause Rotation
Tutorials on image galleries and menus are my favorite because these two things put an attractive look into your web pages. That’s why in the last few weeks I…
CodeIgniter Tutorial: Upload and Convert video to FLV using FFmpeg.
Today, I will show, how can we upload and convert a video file to flv using FFmpeg in CodeIgniter website. FFmpeg commands runs in Linux but in Window server…
jQuery Tutorial: Create a simple jQuery Based Type n Play Game.
Learn how to create a simple dropping boxes game with jQuery, Ajax, and PHP. You will type the dropping alphabetic character to get a point.
2 Comments
Comments are closed.
Thank you for your post i want to know how to insert a image name
/*— Controller —*/
$data = array(‘upload_data’ => $this->upload->data());
$this->load->view(‘your-upload-page’, $data);
/*— View –*/
echo $upload_data[‘file_name’]; //this will output the image name
echo $upload_data[‘image_size_str’]; //this will output the width and the height of the image
<img src="” />