how can i receive a file sent by an applet to the server by an applet to the server by post method when on server i need a php file to receive it how can i do so?
i tried this;
<?php
$img_data = $_POST['txt'];
$fp = fopen('test.doc', 'w');
fwrite($fp, $img_data);
fclose($fp);
?>