citricsquid Posted August 25, 2009 Share Posted August 25, 2009 Hi, I have a webpage I need to get the contents of, we can assume the site is "http://example.com", now the site requires a cookie to present to view the page, if it doesn't the page errors. The cookie content is "username|password" and the name of the cookie is "_lgn". How would I send this cookie information to the site using cURL? I'm unsure how, I've seen some cURL tutorials and information sites but none seem to detail this - or I'm missing something. Thanks. Link to comment https://forums.phpfreaks.com/topic/171867-curl-sending-cookies-to-a-website/ Share on other sites More sharing options...
sKunKbad Posted August 26, 2009 Share Posted August 26, 2009 See this: Fetch a URL with Cookies in PHP Link to comment https://forums.phpfreaks.com/topic/171867-curl-sending-cookies-to-a-website/#findComment-906375 Share on other sites More sharing options...
redarrow Posted August 26, 2009 Share Posted August 26, 2009 skunkbad nice web sites grate stuff brilliant work now lol. can you provide me with your work and hope interest, getting all your hotmail and user profiles on you hotmail list can u do it ... have u got a example please tried for years for my dating web site can you help cheers. all done with curl tried for years .... Link to comment https://forums.phpfreaks.com/topic/171867-curl-sending-cookies-to-a-website/#findComment-906387 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.