|
Posted by Chuck Renner on 10/28/06 13:31
Rik wrote:
> First of all: no binaries with your post please.
sorry...
> Second:
> HTTP/1.1 302 Found
> Date: Fri, 27 Oct 2006 10:17:31 GMT
> Server: Apache
> X-Powered-By: smugmug/1.2.0
> Set-Cookie: SMSESS=879c1d8a0378b8304671becdf6ff28c8; path=/;
> domain=.smugmug.com
> Cache-Control: private, max-age=1, must-revalidate
> Pragma:
> Set-Cookie: Template=7; expires=Sun, 26-Nov-2006 10:17:31 GMT; path=/;
> domain=.smugmug.com
>
> file_get_contents() will NOT honour these Set-Cookie's whatsoever. It isn't
> meant to do that.
>
> If you want to do this, use cURL.
> This is not a bug, this is a documented limitation.
Thanks. I had already spent hours in google and php documentation
before posting, and had not found that. I did not find any php
documentation on file_get_contents limitations and Set-Cookie. I'll
start looking for cURL documentation now.
Thanks again for pointing me in the right direction.
- Chuck Renner
[Back to original message]
|