Welcome Guest, Not a member yet? Register   Sign In
validate image file only when uploaded
#1

Hi
I need to validate an image file only if it was uploaded by the user.
I know I can use something like:
PHP Code:
if(isset($_FILE['image'])){
    
validate();


is there any internal validation rule to achieve this?
premit_empty() ignore the whole validation
Reply


Messages In This Thread
validate image file only when uploaded - by pars1997 - 08-21-2020, 08:11 AM



Theme © iAndrew 2016 - Forum software by © MyBB