Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 11th, 2012  |  syntax: PHP  |  size: 1.08 KB  |  hits: 33  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  public static void submit() {
  2.         System.out.println("Submitting...");
  3.         BufferedReader br = null;
  4.         try {
  5.             URL SUBMIT_LINK = new URL("http://jfd.net78.net/php/submit.php?user="
  6.                     + Environment.getDisplayName().toLowerCase() +
  7.                     "&time=" + (System.currentTimeMillis() - Store.startTime) / 1000 +
  8.                     "&exp=" + exp +
  9.                     "&kills=" + Kills +
  10.                     "&profit=" + Profit +
  11.                     "&bones=" + bones +
  12.                     "&visages=" + vis +
  13.                     "&longest=" + (System.currentTimeMillis() - Store.startTime) / 1000);
  14.  
  15.             SUBMIT_LINK.openStream().read();
  16.             SUBMIT_LINK = null;
  17.  
  18.             System.out.println("Submitted...");
  19.         } catch (MalformedURLException e) {
  20.             e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
  21.         } catch (IOException e) {
  22.             e.printStackTrace();  //To change body of catch statement use File | Settings | File Templates.
  23.         }
  24.     }