comments below On Jun 01, 2006, at 10:51, kartikay malhotra wrote: Hi ! Dude, kill the space between the userfile[] and the '='! The post parameters are sent *exactly* as entered. So as is, userfile[] is being sent as the empty string. This is the problem. I used http-post-parameters = userfile[]=%z On CVS and this is the output of the test PHP script I sent, for a MMS (attached): |
hi This is a test message<br> These are the keys: ArrayAnd this is the FILES data:<br>Array ( [userfile] => Array ( [name] => Array ( [0] => cats.smil [1] => cats.txt [2] => cats.gif )
[type] => Array ( [0] => application/smil [1] => text/plain [2] => image/gif ) [tmp_name] => Array ( [0] => /var/tmp/phpVjlQQS [1] => /var/tmp/phpJ1kKKL [2] => /var/tmp/phpMgNPA4 ) [error] => Array ( [0] => 0 [1] => 0 [2] => 0 ) [size] => Array ( [0] => 726 [1] => 16 [2] => 3330 ) ) ) <br> And this is the POST array:<br> Array ( )
which clearly shows it is working.
You will have to write your PHP to do this. You can of course receive the entire binary MMS using the %b parameter Thanks & Regards |
_______________________________________________ Users mailing list Users@mbuni.org http://mbuni.org/mailman/listinfo/users_mbuni.org