PHP, cURL post to login to WordPress

后端 未结 5 1539
北海茫月
北海茫月 2020-11-30 05:24

I am working on a project for a client which needs an automatic login from a link click.

I\'m using a handshake page to do this with the following code:



        
5条回答
  •  情话喂你
    2020-11-30 05:35

    Use Zend Framework's Cookies class to manage them for you. I have used this in the past for crawling secure sections of a web site using cURL.

提交回复
热议问题