Topic: upload.php and $_REQUEST

why upload.php is using $_REQUEST instead of $_POST?

// Get parameters
$chunk = isset($_REQUEST["chunk"]) ? $_REQUEST["chunk"] : 0;
$chunks = isset($_REQUEST["chunks"]) ? $_REQUEST["chunks"] : 0;
$fileName = isset($_REQUEST["name"]) ? $_REQUEST["name"] : '';

Re: upload.php and $_REQUEST

Well, I think that's because when we use "streams" (php://input) we can't send those parameters with POST so plupload uses GET in that case.