Welcome Guest, Not a member yet? Register   Sign In
redirect issue file upload.
#4

You would improve it by:
PHP Code:
if( ! $this->upload->do_upload() ) {
    
$check_if_any_error++;    

That way you will only increment the error counter when an error actually occurs.
Reply


Messages In This Thread
redirect issue file upload. - by wolfgang1983 - 02-17-2016, 11:08 PM
RE: redirect issue file upload. - by Diederik - 02-18-2016, 01:42 AM
RE: redirect issue file upload. - by wolfgang1983 - 02-18-2016, 01:50 AM
RE: redirect issue file upload. - by Diederik - 02-18-2016, 02:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB