D
D
Dmitry2015-12-15 17:52:44
PHP
Dmitry, 2015-12-15 17:52:44

How to log in to another site (PHP)?

There is an authorization form on the "other" site, two fields - login, password. Data known to me.
I need to create a link/button on my site, by clicking on which I opened "another" site already authorized.
The problem is that the "other" site returns 403 if no referrer is passed from its authentication page.
How can I be logged in to the "other" site?
PS On the "other" site, I can't make any changes.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
romy4, 2015-12-15
@romy4

emulate this. php curl, save all response cookies, you can referrer and replace.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question