Jump to content

cURL sending cookies to a website


citricsquid

Recommended Posts

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

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 ....

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.