I have the exact same problem..
As PHP can't receive cookies in the same way a browser does, I've been trying to work around it.
I tried posting a form using lynx, but even though I used options -accept_all_cookies and -post_data, I would get a "Successfully logged in" message back, but when trying to open a "members-only" page, it still view me as not logged in.
Anyone know how Lynx handles cookies?
Another thing I tried, was getting the members-only page with the above mentioned script, supplied with a:
header("Cookie: cookiename=value;");
It won't work. The result is the members-only page, displayed as if I wasn't logged in.
If anyone got a solution to this problem I'd be overjoyed if they would explain it to me π
-=Dar=-