I would like to make a Bukkit plugin using Java. In this plugin I would like to get a response from PHP file, key.php?nick=gameplayer&code=key
.
If $_GET['code']
is Ok, then server response should be 1, else
it is 0.
How could I accomplish this?