kla0005 Posted May 4, 2010 Share Posted May 4, 2010 Hey Guys. Anyone who know's how to login to a page with Curl and get the content of it? I tryed, but this would't work: http://pastie.org/private/vlffrewdglopslvyfkwww Hope someone can help me.. Quote Link to comment Share on other sites More sharing options...
teamatomic Posted May 4, 2010 Share Posted May 4, 2010 postfields is used with a query string, such as: username=joe_bananas&password=godfather99&folder=bonanno_family then you want to do something like: $page_contents=curl_exec ($c); echo $page_contents; HTH Teamatomic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.