Re: cgi-bin
PHP is the only active code supported on free hosting accounts. Shell access, Perl, Python, etc., are disabled for security reasons (mostly due to continual abuse), as are PHP functions that provide essentially the same access to the system. You can use a PHP mailer or other PHP-based forms processing code.
“Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
"It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)