Update: Looks like marto beat me to it, with a better answer too.
In reply to Re: Using CURL by dorward in thread Using CURL by peewee_zz