* Thus wrote Dan Anderson ([EMAIL PROTECTED]): > I need to grab cookies from a web page and pass those cookies back to > the web page when needed. I downloaded the cURL program and was playing > with it, but don't understand how cURL functions correlate into the PHP > equivalents. > > How would I strip the cookies from a web page, and send cookies? > More importantly, if I have cookies from domain x which provides y > cookies and go to a second web page from domain x which provides z > cookies, if I go to another web page on domain x should I concatanate > the y and z cookies, or just send the last z cookies recieved?
Send back all cookies that follow the rules here: http://wp.netscape.com/newsref/std/cookie_spec.html That is of course you want to accept the cookie. Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php