![]() |
Stop User From Uploading Images - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Stop User From Uploading Images (/showthread.php?tid=47785) |
Stop User From Uploading Images - El Forum - 12-22-2011 [eluser]Vaibhav132[/eluser] I am working on Uploading image functionality. The user is allowed to upload only four images. I am using the following function to count number of images in the directory Code: if((count($images) =4)){ I am not able to estimate how can i modify and use the function $this->upload->display_errors(); to stop user from uploading images after the specific count. Please let me know, if there is any other way to do this. Thanx ![]() |