Due to the upload script I can not obtain the uploaded file by $_FILE variable, thefore I have to make do with
$file = file_get_contents("php://input")
I want to get the dimensions if it's an image, for that purpose, I would use getimageresize() but getimageresize() only take a file not a string. So that's my problem. How do i solve this?