News

First, create an entry HTML form capable of passing information to a secondary file. Next, create a Hypertext Preprocessor (PHP) file to accept the data and insert it into the database.
Write a new PHP script that both generates the email and inserts data into a database. Then just point the form to that script instead of to the cgi. (the CGI is probably some kind of shell script).