V
V
vikagalat2015-06-19 09:51:52
PHP
vikagalat, 2015-06-19 09:51:52

curl. How to pass the session key?

I do authorization on the site using curl, after authorization I fill in the form fields, in one of which it is required to send the session key. tell me where it is written? here is the authorization form: www1.fips.ru/wps/wcm/connect/content_ru/ru/inform_...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2015-06-20
@vikagalat

This form sends a POST request to the page www.fips.ru/cdfi/fips2009.dll/login
This is the first page after authorization, there are several hidden fields in the code, including the "SessionKey" field. It is necessary to collect names and values ​​and form POST and GET requests through curl to get other pages. Well, then pull out the info from the iframes. It's not very hard, but hemorrhoids

P
pibiv, 2015-06-19
@pibiv

watch this
https://www.youtube.com/watch?v=lJqnGnnnwUQ
and this https://www.youtube.com/watch?v=_kQN-3aNCeI
code examples seem to be under the video

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question