'; print_r($_REQUEST); echo ''; $XHTML = '
Message received on '.date("F j, Y, g:i a").'
'; $_REQUEST['USER IP ADDRESS']=$_SERVER['SERVER_ADDR']; $NAME = $_REQUEST['admin_fname'].' '.$_REQUEST['admin_lname']; $EMAIL =$_REQUEST['admin_email']; foreach($_REQUEST as $var=>$val) { $var=str_replace('\'','',$var); $var=str_replace('-',' ',$var); $var=ucfirst(strtolower($var)); $XHTML .= ''; } $XHTML .= '
'.$var.': '.nl2br($val).'

'; require($_SERVER['DOCUMENT_ROOT']."/lib/sendmail/class.phpmailer.php"); $mail = new PHPMailer(); $mail->SetLanguage("en",$_SERVER['DOCUMENT_ROOT']."/lib/scripts/sendmail/language/"); $mail->IsSMTP(); // set mailer to use SMTP $mail->Host = 'smtp.gmail.com'; // specify main and backup server $mail->SMTPAuth = true; // turn on SMTP authentication $mail->Username = 'alivalley'; $mail->Password = 'mond@y1969'; // SMTP password $mail->From = 'alivalley@gmail.com'; $mail->FromName = $NAME; $mail->AddReplyTo($EMAIL,$NAME); $mail->AddAddress('info@fasthost.net','Online Quote Form'); $mail->WordWrap = 75; // set word wrap to 50 characters $mail->IsHTML(true); // set email format to HTML $mail->Subject = $NAME.' - Fasthost.Net Contact Form'; $mail->Body = $XHTML; if(!$mail->Send()) { $_SESSION['MESSAGE'] = '
Mailer Error: ' . $mail->ErrorInfo; } else { $_SESSION['MESSAGE'] = 'Your message has been sent. Thank you!'; header('Location: '.$_SERVER['PHP_SELF']); exit; } } ?> Fasthost Network, Reliable web hosting!
Fasthost Network
Home Contact Us

Contact Fasthost with questions or to work on a custom solution for your company's web site. We can provide you all the elements needed for a successful implementation and maintenance. Contact us via the form below

'.$_SESSION['MESSAGE'].'
'; }?> Contact Form -- not all fields are required.

First Name.....: Last Name......: Organization...: Email Address..: Address........: City...........: State..........: Zip/Postal Code: Country........: Phone..........: Fax............: Please provide your question or comment below: Question.......: 1+7=




Sign Up Now
Clients
Support
Contact
[ Business Solutions | Services | Servers | Why Fasthost | Sign Up | Pricing | Clients | Support | Contact Us ]

Copyright © 1998-99 Fasthost Network. All rights reserved.