[EMAIL PROTECTED] wrote:
> <?
> // * my Emailer PHP Code *//
That script is not complete and will not run but I patched it up a bit....
The script below will run and when loaded will direct my browser
directly to your woops page. The main problem with header() is that you
can not send ANY out put or it will not work.
<?PHP
// * my Emailer PHP Code *//
$firstname = $_REQUEST['firstname'] ;
$lastname = $_REQUEST['lastname'] ;
$email = $_REQUEST['email'] ;
$description = $_REQUEST['description'] ;
if( empty($email) == False ) {
echo("Sending Mail Here");
}elseif (empty($email) || empty($description)) {
//Message to alert User that Form isn't Complete
header( "Location: http://www.mcsmicro.net/pages/whoops.php" );
}
?>