Hi, I'm trying to write a simple PHP app to automate my login to thepiratebay.org, however when I send the correct login details, nothing is returned only an HTTP OK response without a login cookie. When I send the wrong details I get a web page saying the login details are incorrect. Any ideas? Here's my code: <?PHP
Thanks for the response. I do know that after the POST they reply with a 302 redirect if the login was successful, however adding the redirect option didn't solve the problem. I've tried changing the useragent too. I always get a 200 OK.