if the upload field is empty i want continue. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: if the upload field is empty i want continue. (/showthread.php?tid=11917) |
if the upload field is empty i want continue. - El Forum - 09-28-2008 [eluser]Asinox[/eluser] i want ask about upload field, and everything about upload... i know that if the upload field is empty i get error message about it, but i want continue without file for upload.... how ill ignore the upload error if i dont hav file to upload? thanks if the upload field is empty i want continue. - El Forum - 09-28-2008 [eluser]llbbl[/eluser] put a if statement around the file upload logic checking $_FILES['userfile']['name']. if its empty than skip the logic, and continue doing whatever. if the upload field is empty i want continue. - El Forum - 09-28-2008 [eluser]Asinox[/eluser] ejjeej thanks, is the classic, just i was thinking that in something more CI if the upload field is empty i want continue. - El Forum - 09-28-2008 [eluser]Yash[/eluser] When you can handle things in low level never feel high level is better ...bad lang lol but u got my point if the upload field is empty i want continue. - El Forum - 09-28-2008 [eluser]llbbl[/eluser] I guess ejjeej is me? eh handling stff at a high level all the time is why ruby sux so much. |