if it's a http post request you send to the the php file, you can access the data in php using the array $_POST like you do if you submitted a form (with method="post") by hand
if you do so and don't receive any data output $_SERVER['REQUEST_METHOD'] and post the result, maybe you're doing something wrong in you applet