Category : Codeigniter

12 posts

In this post we will show you Integrating Google Two-Factor Authentication with CodeIgniter 3, hear for Integrating Google Two-Factor Authentication with CodeIgniter 3 we will give you demo and example for implement. Integrating Google Two-Factor Authentication with CodeIgniter extend is a genuinely simple process. The two-factor Authentication will help you to secure your administrator login board with an …
CodeIgniter Session Management If you have developed desktop applications before then, you probably know that you can define a global variable assign a value to it and use it throughout the life cycle of the application opening and closing more than one (1) and each request will have access to the global variable. In other …
Email is very important in web applications. When a user signs up, we might want to send them an email to verify their email address and allow the user to confirm subscription. We also use email to reset forgotten passwords, send invoice and receipts to customers, etc. CodeIgniter makes it super easy for us to …
What is Migration ? Migrations are a convenient way for you to alter your database in a structured and organized manner. You could edit fragments of SQL by hand but you would then be responsible for telling other developers that they need to go and run them. You’d also have to keep track of which …
Database migration is one of the best features that you get in any PHP framework. Database migration in the framework is just like a version control of your database tables. And another feature of migration is that you don’t have to send or put separate database file to other developers. Codeigniter also comes with builtin migration feature and …
Specify Default Language and Language Options Go to application/config folder and open config.php. Add the following line to specify the website’s default language. $config[‘language’] = ‘english’; Now to create the language options, of to application/language folder and create separate subfolders for each language. Next, in each subfolder, create a file with the suffix _lang. For instance, …
Best solution is (only available for CI 3 and up): change to On Linux where PHP 5.6 or less… apt-get install php5-mcrypt
API development firm Postman has released some interesting findings about the various types of people who are engaging with APIs. Most people would probably assume developers are the core group of people who are using APIs. However, 53 percent of the 10,000 respondents do not have the title of “developer”. That’s a significant increase over …
In this tutorial, i will give you example of how to fire curl post request with codeigniter. it will help to get third party api data using curl request in codeigniter. you can fire post request, get request, put request and delete request in curl codeigniter 3. I will suggest to use code php curl …
/* create zip folder */ public function zip(){ $getImage = $this->cart_model->getImage(); $zip = new ZipArchive; $auto = rand(); $file = date(“dmYhis”,strtotime(“Y:m:d H:i:s”)).$auto.’.zip’; if ($zip->open(‘./download/’.$file, ZipArchive::CREATE)) { foreach($getImage as $getImages){ $zip->addFile(‘./assets/upload/photos/’.$getImages->image, $getImages->image); } $zip->close(); $downloadFile = $file; $download = Header(“Location:http://localhost/projectname/download/”.$downloadFile); } }
PAGE TOP
error

Enjoy this blog? Please spread the word :)

RSS
Follow by Email