does not work anyway...

why upload[] ?
$post = array('upload[]' => "@$x");


if: