I\'m trying to upload Image to the Server, Which I have done and works very well. But the problem I\'m facing is I want to Upload Image as well as pass some parameter with t
Try this:
$mobileNumber = $_POST['userNumber']; // get mobile number from post
Since you are using POST method:
POST
conn.setRequestMethod("POST");
And setting mobile number as:
conn.setRequestProperty("userNumber", usernumber);