DZone

If you want to insert binary data into SQL Server in Zend Framework 1, then you probably used the trick of setting an array as the parameter’s value with the info required by the sqlsrv driver as noted in Some notes on SQL Server blobs with sqlsrv.

Essentially you do this:

Source: DZone