Skip to content
Advertisement

Save generated QR code image into path

I am generating QR code dynamically from a database, I need to store them in a specified path. when am generating the QR-code and saving individually, but now am generating them in bulk I need to store them in my preferred path. How can I achieve this?

This is my Function

JavaScript

Advertisement

Answer

Hope this wll help you :

Your print_qr1 method should be like this :

JavaScript

This is your my_upload method

JavaScript

For more : https://www.codeigniter.com/user_guide/libraries/file_uploading.html

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement