pcman Posted April 9, 2017 Share Posted April 9, 2017 somebody have an example or reference for PHP code that make login to a website and handle with the redirection after? thanks! Quote Link to comment https://forums.phpfreaks.com/topic/303671-looking-for-php-login-to-the-external-website-with-curl-example-and-how-to-handle-with-redirections/ Share on other sites More sharing options...
Jacques1 Posted April 9, 2017 Share Posted April 9, 2017 There are literally millions of results when you just do a Google search. So what have you tried? What exactly do you not understand? There's nothing special about log-ins. You need a cookie jar, and redirects are enabled with the CURLOPT_FOLLOWLOCATION parameter. Quote Link to comment https://forums.phpfreaks.com/topic/303671-looking-for-php-login-to-the-external-website-with-curl-example-and-how-to-handle-with-redirections/#findComment-1545248 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.