GeordieSteve Posted March 13, 2008 Author Share Posted March 13, 2008 pmsl I knew I became an infrastructure engineer for a reason! <?php // designer $reg = $_POST['reg']; $fonts = $_POST['fonts']; $tag_text = $_POST['tag_text']; $borders = $_POST['borders']; $l_side = $_POST['l_side']; $side_badges = $_POST['side_badges']; $backgrounds = $_POST['backgrounds']; $supply_front = $_POST['supply_front']; $front_size = $_POST['front_size']; $supply_rear = $_POST['supply_rear']; $rear_size = $_POST['rear_size']; $honey = $_POST['honey']; $chrome = $_POST['chrome']; $fix = $_POST['fix']; $mail = $_POST['mail']; $cost = $_POST['cost']; $action = $_GET['action']; if ($supply_front == "checkbox"): $supply_front = "Yes"; endif; if ($supply_rear == "checkbox"): $supply_rear = "Yes"; endif; if ($honey == "checkbox"): $honey = "Yes"; endif; if ($chrome == "checkbox"): $chrome = "Yes"; endif; if ($fix == "checkbox"): $fix = "Yes"; endif; $plate = " [EBAY] Normal Plate design information \n". "Registration number: ".$reg ."\n". "Font number: ".$fonts ."\n". "Tag text: ".$tag_text ."\n". "Border number: ".$borders ."\n". "Legal side badge: ".$l_side ."\n". "Side badge: ".$side_badges ."\n". "Background: ".$backgrounds ."\n". "Front: Yes"."\n". "Rear: Yes"."\n". "Honey: ".$honey ."\n". "\n\n Total Cost: " . $cost . "\n -------------------\n\n". "E-mail of customer: ". $mail . "" ; if ($reg == ""): die ("You havent entered Your registration number!"); elseif (is_null ($mail) || $mail == "[email protected]"): die ("You havent entered Your E-mail!"); elseif ($action == "checkout"): $final = $plate; $fromEmail= '[email protected]'; $from = "From: ".$fromEmail."\r\n"; $from .= "MIME-Version:1.0\r\n"; $from .= "Content-Type: text/plain; charset=\"us-ascii\"\r\n"; $from .= "Content-Transfer-Encoding: 7bit\r\n"; mail("[email protected]", "[EBAY] Plate Order - " . $reg, $final, $from); endif; ?> http://www.customisedplates.com/ebayshowplates/Ebay-PlateMaker/order.gif or Close Window Still now worky Quote Link to comment Share on other sites More sharing options...
GeordieSteve Posted March 18, 2008 Author Share Posted March 18, 2008 anyone? Quote Link to comment Share on other sites More sharing options...
creative Posted March 18, 2008 Share Posted March 18, 2008 that all looks like a bunch of letters to me! lol sorry to be no help Quote Link to comment Share on other sites More sharing options...
Shovels Posted March 18, 2008 Share Posted March 18, 2008 Can you change the code from: mail("[email protected]", "[EBAY] Plate Order - " . $reg, $final, $from); to: if (mail("[email protected]", "[EBAY] Plate Order - " . $reg, $final, $from)) { echo 'Emailed OK'; } else { echo 'Email Failed'; } Let us know what u get Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
× Pasted as rich text. Restore formatting
Only 75 emoji are allowed.
× Your link has been automatically embedded. Display as a link instead
× Your previous content has been restored. Clear editor
× You cannot paste images directly. Upload or insert images from URL.