I'm 100% sure it already exists, in perl ( faqomatic ) and php ( phpmyfaq ), you just have to find it :)
In reply to Re: PHP or Perl/CGI by Anonymous Monk in thread PHP or Perl/CGI by sharief