CEPWEBS Help Files

contact form...

contact form configuration

Unfortunately, Expression Web does not have as of yet any kind of form handler. If you are a FrontPage fan, the FrontPage form handler will work perfectly fine. The only issue would be that you will need the FrontPage Extensions installed on your server. FP extensions are not used anywhere on this web template.

The contact form in this template is set up to use a PHP formmail program. Although the form is properly set the formmail script has to be configured by you. This script is in your root folder. You may need to check with your host to be sure your server supports PHP. If your server does not support PHP you can also download and use CGI Formmail. If you have any difficulty setting up your form let us know at CEPWEBS.com and we can help you.

In the Formmail script go to line #41 to line #48. You will see the following code.

// To change the address the e-mail comes from use define('FROM', 'Example Name <info@CEPWEBS.com>');
define('FROM', null);

$referers = array('CEPWEBS.com', 'CEPWEBS.com');

// $referers = array('mail.CEPWEBS.com', 'www.CEPWEBS.com', 'CEPWEBS.com', '74.53.87.226');
$valid_env = array('REMOTE_HOST', 'REMOTE_ADDR', 'REMOTE_USER', 'HTTP_USER_AGENT');
$recipient_array = array('info' => 'info@CEPWEBS.com');

Wherever you see CEPWEBS change it to your website address. Where you see the number (74.53.84.226) change that to your server IP number. If you don't have your IP number you can get it from your hosting company. If you are on the CEPWEBS server then that number listed is correct.