Answer the question
In order to leave comments, you need to log in
How to log in to a third-party site using php?
There is a task for the user to click on the link posted on site A, go to site B and automatically log in with a specific login / password.
For example, on my site (example.com) a user clicks on a link and gets to the site orion10.ru authorized with a specific login password.
How to implement this using php?
Answer the question
In order to leave comments, you need to log in
Using curl, we log in to that site, get a cookie, write it to our user, then redirect the user to the site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question