I think I have found it....
It's a code to pass Data to PHP using "POST" method
CODE
URL myURL=null;
URLConnection urlConn=null;
DataOutputStream printout=null;
DataInputStream input=null;
try{
url=new URL(getCodeBase(),"Picks/"+"writeToFile.php");
}catch(Exception easidghih){}
try{
urlConn=myURL.openConnection();
}catch(Exception w){JOptionPane.showMessageDialog(null,"openConnection() error");}
try{
urlConn.setDoInput(true); urlConn.setUseCaches(false);
}//end of try
catch(Exception a){JOptionPane.showMessageDialog(null,"Exception here");}
try{
printout=new DataOutputStream(urlConn.getOutputStream());
String content="File="+URLEncoder.encode(username+".txt","UTF-8")+"&text="+URLEncoder.encode(Long.toString(number),"UTF-8");
printout.writeBytes(content);
printout.flush();
printout.close();
}//end of try
catch(Exception f){JOptionPane.showMessageDialog(null,"error 2");}