share the same cookie between two website using PHP cURL extension
- by powerboy
I want to get the contents of some emails in my gmail account. I would like to use the PHP cURL extension to do this. I followed these steps in my first try:
In the PHP code, output the contents of https://www.google.com/accounts/ServiceLoginAuth.
In the browser, the user input username and password to login.
In the PHP code, save cookies in a…