PHP send cookie and get image?

kostas

New member
I would like to get an image from a website, but in order to do that I have to send the website a cookie, so imagecreatefromjpeg() wouldn't work.

What I need is to send the website an http request along with a cookie, retrieve the image from the response and use an then use one of PHP's image create functions to edit that image.

How do I do that (an example showing the code would be appreciated)?
 
Back
Top