Flash form using CGI

Hey.
I need to make a form in Flash that utilizes CGI instead of the usual PHP. The server that my client uses doesn’t support php.

Is this possible? I have absolutely NO working knowledge of any CGI- can anyone help me?

Thanks