"; print_r($_POST); sleep(2); // validate form fields if (($_POST['firstname'] == "") || (IsValidNonHtmlStr($_POST['firstname']) == false)) { $firstnameERROR = "Please enter your first name"; $error = true; } if (($_POST['lastname'] == "") || (IsValidNonHtmlStr($_POST['lastname']) == false)) { $lastnameERROR = "Please enter your last name"; $error = true; } if($_POST['email'] == "") { $emailERROR = "Please enter your email address"; $error = true; } else { // STC 5/18/07 $stcEmail = $_POST['email']; if ($validate->email ("$stcEmail",array("check_domain"=>true,"use_rfc822"=>true))) { // "From" Valid, check next } else { $emailERROR = "Invalid email address"; $error = true; } /* $atPos = strpos($_POST['email'], "@"); $dotPos = strrpos($_POST['email'], "."); if($atPos === false || $dotPos <= ($atPos + 1)) { $emailERROR = "Invalid email address"; $error = true; } */ } echo "form 2 $error
"; require_once('clPHP.php'); ?> Apply to become a CompanionLink reseller
Home » About Us » Become a Reseller

Reseller Enrollment Form

input.php
"); // STC debug 8/6/07 require("input.php"); } else { // print("
process.php
"); // STC debug 8/6/07 require("process.php"); } ?>