Comparing
#49 with
#50
Revision #50 was created by
rackycz on Oct 11, 2020, 5:35:09 PM.
base64 stream download
Content
[...]
$query->andFilterWhere(['like', 'table.column', $this->company_name]);
}
}
```
**Sending binary data as
a file to
the browser
- decoded base64**
---[...]
// https://www.yiiframework.com/doc/api/2.0/yii-web-response#sendContentAsFile()-detail
// return Yii::$app->response->send();
```
**Note:
** You can add more headers if you need. Check my previous article (linked above).
```