I'm using fsockopen to grab a website to scrape some information and save it to a database. One problem I've encountered is that the website that I'm doing the fsockopen is sending me a cookie that needs to be accepted and saved.
I know with perl, this can be done using LWP and a cookie_jar. Does PHP have some function or class that will accomplish the same thing?
Cheers!