PHP Developers Network
http://forums.devnetwork.net/

How to send cookie with image request
http://forums.devnetwork.net/viewtopic.php?f=40&t=118345
Page 1 of 1

Author:  Niro [ Wed Jul 07, 2010 4:20 am ]
Post subject:  How to send cookie with image request

Hello Experts,

I'm using gd to fetch an image from a remote server.
$res=imagecreatefromJPEG ($url);

I need to have a cookie set with a value along with the call to get the image.

Is this possible with GD?
How would I do that?

Thanks,
Niro

Author:  greyhoundcode [ Fri Aug 13, 2010 1:22 pm ]
Post subject:  Re: How to send cookie with image request

Cookies and GD are two very different areas. Use setcookie() or a framework equivalent.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/