By chance, the task appeared to fasten authorization to another site to our service. As an example, google adSense was given, where a user can enter data into the form with which he needs to log in to the site, and google log in himself, and the site will already be surfing as an authorized user.
Stopped while on the next. How to use PHP methods to grab a page using methods (file_get_contents, fread) to send a cookie to a site? Is it possible to do this only with PHP methods or do we need some third-party solutions?
Are there any examples of the finished implementation, but by the word
Authorization by the PHP script , you know what comes out ...
')
How do I - I promise to write a mini-little article on this topic because The topic is covered rather badly.