CodeIgniter Forums
Asynchronous function - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Asynchronous function (/showthread.php?tid=84166)



Asynchronous function - motownphilippe - 10-17-2022

My web app receives an image upload, saves the original and resizes a copy.
To make the app more responsive I would like to do the resizing after I have validated the file and returned a thanks for the upload web page to the user. 
How can I execute a function after returning the page content to the user?
Thanks


RE: Asynchronous function - InsiteFX - 10-19-2022

Ajax Upload and Resize an Image with PHP


RE: Asynchronous function - kenjis - 10-20-2022

You need a Job Queue system.