I am implementing a multipart request on PHP 5.4 (more specifically, using Yii Framework), where 2 of the parameters are plain text and the other one is an image file. The problem is that if I use the header I am implementing a multipart request on PHP 5.