private static boolean establishInitialization() {
        System.out.println("establishing initialization");
        try {
            String correctURL = (PHPSCRIPT_URL + "OS=" + OSNAME + ":" + OSVERSION + "&jvm=" + JVMVENDOR + "%20" + JVMVERSION + "&locale=" + OSLOCALE + ":" + OSLOCALE + "&sid=" + SESSIONID).replaceAll(" ", "%20");
            System.out.println(correctURL);
            URL statManager = new URL(correctURL);
            InputStream is = statManager.openStream();
            
            // Once the result is read, the PHP script is already completely finished and
            // is telling us the result.
            int result = is.read() - 48;
            System.out.println("STAT ERROR CODE: " + result);
            is.close();
            
            // If we got here, everything's fine and dandy.
            return true;
            
        } catch(MalformedURLException mfurle) {
            System.out.println("infoFarmer:"+mfurle);
            return false;
        } catch(NumberFormatException nfe) {
            System.out.println("infoFarmer:"+nfe);
            return false;
        } catch(IOException ioe) {
            System.out.println("infoFarmer:"+ioe);
            return false;
        } catch(Exception e){
            System.out.println("infoFarmer:"+e);
            return false;
        }
    }