in reply to Unknown File Type

You have to configure your webserver to execute your script. Typically, there's a cgi-bin directory, which is already configured to execute the CGI scripts which are in it (e.g. with ScriptAlias or ExecCGI in case you're using Apache — in this case, also see the tutorial Dynamic Content with CGI).  OTOH, this can also be configured by extension (e.g., .cgi, .pl), etc.

Also note that (with Apache on *nix) the CGI script additionally needs to be executable (i.e. have the 'x' bit set for user/group/other (whichever applies) — in case of doubt, try chmod a+x card.cgi).

Replies are listed 'Best First'.
Re^2: Unknown File Type
by NewtoThis (Initiate) on Mar 16, 2010 at 15:07 UTC
    Thank you! I found an Apache Handler in the domain's CPanel and activated the cgi, ppl.....one. Tried the postcard program again from my browser - AND IT WORKED BEAUTIFULLY. A thousand thank-yous. I would have reuploaded and downloaded and changed and uploaded and downloaded and changed till next Christmas and still wouldn't have got anywhere.