I need to access a page html using curl. The problem is that this page always redirect you back to index unless you send a post to this page.
Try: www.clubmodel.com.br/ensaios (warning: erotic content)
You will be redirected to http://www.clubmodel.com.br, once you have clicked on “entrar” you will be able to access the page.
There’s anyway of simulating it with curl and get the contents back ?
Yes, I will need to scrap the page contents.
This site requires the cookie to be set. You should specify
CURLOPT_COOKIEoption:You can use Firebug to figure that out yourself next time.