How CURL Login with Captcha and Session

后端 未结 6 2629
终归单人心
终归单人心 2021-02-02 16:58
define(\'COOKIE\', \'./cookie.txt\');
define(\'MYURL\', \'https://register.pandi.or.id/main\');

function getUrl($url, $method=\'\', $vars=\'\', $open=false) {
    $agents =          


        
6条回答
  •  既然无缘
    2021-02-02 17:33

    Captcha is a dynamic image created by the server when you hit the page. It will keep changing, you must extract the captcha from the page and then parse it and then submit your page for a login. Captcha will keep changing as and when the page is triggered to load!

提交回复
热议问题