define(\'COOKIE\', \'./cookie.txt\');
define(\'MYURL\', \'https://register.pandi.or.id/main\');
function getUrl($url, $method=\'\', $vars=\'\', $open=false) {
$agents =
With PHP I do not know how to do it, you have to get the captcha and find a way to solve it. It has a lot of algorithms to do it for you, but if you want to use java, I already hacked the source code from this link to get the code to solve the captcha and it works very well for a lot of captcha systems.
So, you could try to implement your own captcha solver, that will take a lot of time, try to find an existing implementation for PHP, or, IMHO, the best option, to use the JDownloader code base.