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.. Link to comment https://forums.phpfreaks.com/topic/200693-a-little-bit-curl-maybe/ 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 Link to comment https://forums.phpfreaks.com/topic/200693-a-little-bit-curl-maybe/#findComment-1053209 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.