sorry i changed the text, in the original code block from what i had. here is what i HAVE:
this isn't a form. I am reverse enginering (with permission to do a port) a client that downloads sermon MP3s from sermonaudio.com. this is what it sends:
sprintf(command, "curl -A SAMPLE-DOWNLOADER -url \"sermonaudio.com/xml_favorites2.asp"
"?version=2.0&UserID=%s&Pass=%s\" > sermonlist.tmp\n",
username, password );
this supplies a list of sermons that were selected on the main site.
so i used sprintf *in hindsight maybe strcpy would have been better) to put the username and password in the URL.
If there is a better faster way to do it, i'm all ears.