I\'ve got a PHP application which needs to grab the contents from another web page, and the web page I\'m reading needs a cookie.
I\'ve found info on how to make thi
You'd probably be better off using cURL. Use curl_setopt to set up the cookie handling options.
If this is just a one-off thing, you could use Firefox with Live HTTP Headers to get the header, then paste it into your PHP code.