Curl uses Netscape's cookie file format. I haven't tried it, but in theory, you could use Netscape, Mozilla, Firefox, or a Gecko based browser and copy the entire cookie file over to where you have your PHP setup. Then tell Curl to use that file as its cookie jar/file.
If that doesn't work, then do what Installer said.