Im trying to have my script login to a remote website, which I can do. The server generates a cookie and will send it to me. I need to be able to resend this cookie with each page request my script so that I can stay logged in. How would I do this?
take a look at curl
php.net/curl
Ill look into it, but I want to find a way to do this independing of (most) php settings.
then use fsockopen() to communicate w/ the website so you can easily read any cookies sent by the server, and easily send those cookies back after receving them.
Whats the line to send cookies?
look at the user comments for fsockopen()
im sure ive seen an example there in the past.