0

I need to get HTML of page that is available only after log-in and then process the data with PHP or Javascript. I do have a login and password and I could even log-in manually, but then I need to to run some script on another server and get that HTML.

It is possible to achieve that (without any hacking techniques)?

Axel Stone
  • 1,521
  • 4
  • 23
  • 43
  • 1
    what did you tried already? What is the login method (webpage, htaccess, ...)? – Florian Apr 27 '15 at 12:34
  • 1
    start here : http://stackoverflow.com/a/2445332/724913 . Once you have posted your login to the correct page and are redirected , you can open the next page as logged in. – arkoak Apr 27 '15 at 12:35
  • Florian, Im not sure what is the login method, how could I find it out? It is login on this page: http://partner.martinus.sk/index.php – Axel Stone Apr 27 '15 at 12:40
  • 1
    There is a Firefox Plugin called "Tamper Data", with this you can snoop out the data that is transfered upon login. You want to look which POST variables are send to what page, with this information you can implement a curl script performing the login. – mondjunge Apr 27 '15 at 12:48
  • Hmm good to know - I'll try it, btw. I think link from @arkoak - stackoverflow.com/a/2445332/724913 could help me. Maybe this question could be closed. – Axel Stone Apr 27 '15 at 12:58

0 Answers0