I need to upload files and prevent overwriting in my dir.
How could validate this.
Thanks
1 Answers
It's added in latest build v1.5.2
You can also decide what to do when file already exist:
// prompt error
$col["editrules"] = array("ifexist"=>"error");
// rename file e.g. file_1,file_2,file_3 etc (default)
$col["editrules"] = array("ifexist"=>"rename");
// override file
$col["editrules"] = array("ifexist"=>"override");
Your Answer