Answer the question
In order to leave comments, you need to log in
How to get data from a page using cookies?
good time of the day, how to sniff a page using curl and php (required data only for authorized ones) and in what format should cookies be?
udp should be substituted in the cookie request and get the page.
Thanks for the help!))
Answer the question
In order to leave comments, you need to log in
Most likely not to "sniff" but to "parse" the page using curl and php.
Make the first access to the index page and get the cookies that the server will give you. If authorization is required, then authorize. And then, with the help of the cookies received after authorization, go to the desired page and receive data for authorized users.
The received cookies can be viewed in the file that you specify when you initialize curl .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question