Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void updateScan()
- {
- // Check for updates.
- URL myURL = new URL("http://www.mywebsite.mysubdomain.com/directory/phpScript.php");
- BufferedReader in = new BufferedReader(new InputStreamReader(myURL.openStream()));
- String inputLine;
- while ((inputLine = in.readLine()) != null)
- System.out.println(inputLine);
- in.close();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement