postParams of swfupload

Dear all,

I use swfupload for uploads.

I set postParams as below:




...

    'postParams'=>array(

		"puid"=>Yii::app()->user->id,

		"psafecode"=>md5(Yii::app()->basePath.Yii::app()->user->id.Yii::app()->params['safecode'].$item->massid),

		"pmassid"=>$item->massid,

	),

...



The problem is that when I try to get post params at server side, I get the following $_POST:




Array

(

    [r] => tuangou/item/doupload

    [PHPSESSID] => gnuaj57nebfo1mppc1a9pmske2&puid=1&psafecode=cc2c317a4292c2f72537cdf789942ca7&pmassid=534

    [Filename] => Tulips - 1.jpg

    [Upload] => Submit Query

    ...

)



I got no $_POST[‘puid’], $_POST[‘psafecode’], $_POST[‘pmassid’]…The whole $_POST is expected to be:




Array

(

    [r] => tuangou/item/doupload

    [PHPSESSID] => gnuaj57nebfo1mppc1a9pmske2

    [puid]=>1

    [psafecode]=>cc2c317a4292c2f72537cdf789942ca7

    [pmassid]=>534

    [Filename] => Tulips - 1.jpg

    [Upload] => Submit Query

    ...

)



Would be very appriciated if anyone can give hints on this.

Thanks.

upgraded swfupload, issue fixed…