|
Posted by Rik on 10/27/06 10:22
Chuck Renner wrote:
> <snip file_get_contents() behaves unexpected for the OP>
First of all: no binaries with your post please.
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.
--
Rik Wasmus
Navigation:
[Reply to this message]
|