View Single Post
Old 03-29-2012, 11:52 AM  
Webmaster Advertising
So Fucking Banned
 
Join Date: Sep 2003
Posts: 1,360
Contact Form Help Needed Please

Im trying out a new contact form to the one i typically use and im having some issues with it.

This is the code i have in sendmail.php:

Code:
<?php
  $name = $_REQUEST['name'] ;
  $phone = $_REQUEST['phone'] ;
  $email = $_REQUEST['email'] ;
  $summary = $_REQUEST['summary'] ;


$from = '[email protected]';
$to      = '[email protected]';
$subject = 'Pixel Square Designs';
$message = "$name\n\r$phone\n\r$email\n\r$summary"; 

$to = '[email protected]';
$header = 'From: '.$from;

mail($to, $subject, $summary, $header);

header( "Location: submitted.php" );
?>
You can find the form online on this page:

http://www.pixelsquaredesigns.com/testimonials/

Can anyone see why the form isnt sending out full information, all im getting is the 'comment' section of the actual form itself when hitting submit and confirming tos has been read :/

Have been playing with this for about an hour now and its starting to get annoying

Thanks for any help you can offer.
Webmaster Advertising is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote