I need to allow pdf upload, how do I? see validation
public $rules = array(
'file' => 'required|mimes:png,jpg,jpeg,gif,pdf|unique:images,local,NULL,id,type,upload'
);
I added pdf
but it did not work, did not upload?
I need to allow pdf upload, how do I? see validation
public $rules = array(
'file' => 'required|mimes:png,jpg,jpeg,gif,pdf|unique:images,local,NULL,id,type,upload'
);
I added pdf
but it did not work, did not upload?