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:
If your script doesn't perform all the functions you need in a single execution, you may need to parse out the cookie values, store them in a file, and then resend on the next execution. Check out the CURLOPT_COOKIEFILE option.