well, cant say exactly without seeing the file "orderform_send.php" . btw just a thought , try to set on/off php register global.
Thanks
If you are new to domains and looking to buy, sell and learn about domains then you have come to the right place. DNForum is the largest domain name community on the internet and continues to grow every day. There are over 105,000 domainers on DNForum doing everything from buying domains, selling domains, learning about domains and discussing domains. Take a minute and Register.
Register Today on DNForum IT'S FREE!If anyone can help i'd appreciate it. www.MunchiesNow.com - if you pay by cash it goes to a BLANK page. If you go pay by paypal it goes to paypal, I don't understand why the blank page appears.
Thanks
Patrick
JetBlue
Co-Pilot
well, cant say exactly without seeing the file "orderform_send.php" . btw just a thought , try to set on/off php register global.
Thanks
LocaFY.in - The smartest way to find local information in India
Maybe the errors are not displayed by default, try adding this on top of your code:
PHP Code:ini_set('display_errors',1)
NameNewsletter.com - free lists of available domain names
ZoneFiles.net (beta) - ccTLD and gTLD droplists
or check the web server error log.
Barracking - Bar·rack·ing
Noun - Shouting to interrupt a speech with which you disagree
Synonym: Heckling
Get your own FREE Political Blog at Barracking.com
Here is the order form send page: Thanks for taking a look
<?
//---------- Script Configuration Section ------
//The Email Address in which you would like to receive order confirmation
$EmailAddress = "munchiesnow@gmail.com";
//The Subject of the email message you receive when someone makes a purchase
$EmailSubject = "MunchiesNow.com Online Order!";
//Should the script send an email to the user when it has successfully placed
//an order through your website? Yes or No
$ReplyBoolean = "Yes";
//The Name in which you would like to use as the sender of the follow up order email
$SenderName = "MunchiesNow";
//The Email address from which the script will use to send the email to the user
$SenderEmailAddress = "munchiesnow@gmail.com";
//The Subject of the email message your user receives as a follow up order letter
$SenderEmailSubject = "Thank you for your MunchiesNow.com Order";
//The body of the email message your user receives
$SenderBody = "Thank you for ordering from MunchiesNow.com. Your order unless specified otherwise is for immediate delivery. Your order will be delivered to you within 30 minutes. If you ordered coffee for an office breakfast, please allow 45minutes for delivery. If you live in a college dorm please be sure to have your cell phone at your side as a driver will attempt to call you to meet you downstairs. We look forward to seeing you soon.";
//Should the script send an invoice to the user? Yes or No
$InvoiceReplyBoolean = "Yes";
//The Name in which you would like to use as the sender of the invoice
$InvoiceSenderName = "MunchiesNow";
//The Email address from which the script will use to send the invoice to the user
$InvoiceSenderEmailAddress = "munchiesnow@gmail.com";
//The Subject of the invoice your user receives
$InvoiceSenderEmailSubject = "Your MunchiesNow.com Receipt";
//Paypal Email Address
$PaypalEmail = "grocerygogo@gmail.com";
//========== Actual PHP Script Begins ==========
list ($productname, $productprice, $extra) = split('/',$txtproduct);
mail( "$EmailAddress", "$EmailSubject: $txtsubject",
"Purchaser: $txtfirstname $txtmiddlename $txtlastname($txtemail) \nItem: $productname at $$productprice per unit. \n\nName: $txtfirstname $txtmiddlename $txtlastname\nAddress: $txtaddress\naddress2: $txtaddress2\nCity: $txtcity\nState: $txtstate\nZip Code: $txtzip\nCountry: $txtcountry\nPhone: $txtphone\nEmail: $txtemail\nPayment Method: $txtpayment\nProduct: $txtproduct\n\nRemarks: $txtmessage", "From: $txtemail" );
$ReplyBoolean = strtolower($ReplyBoolean);
if($ReplyBoolean == "yes") {
mail( "$txtemail", "$SenderEmailSubject", "Dear $txtfirstname $txtmiddlename $txtlastname, \n\n$SenderBody \n\n$SenderName", "From: $SenderName <$SenderEmailAddress>" );
}
$InvoiceReplyBoolean = strtolower($InvoiceReplyBoolean);
if($InvoiceReplyBoolean == "yes") {
mail( "$txtemail", "$InvoiceSenderEmailSubject",
"==================\nOnline Order Invoice\n==================\n\nPurchaser: $txtfirstname $txtmiddlename $txtlastname ($txtemail) \nItem: $productname at $$productprice per unit. \n\nName: $txtfirstname $txtmiddlename $txtlastname\nAddress: $txtaddress\naddress2: $txtaddress2\nCity: $txtcity\nState: $txtstate\nZip Code: $txtzip\nCountry: $txtcountry\nPhone: $txtphone\nEmail: $txtemail\nPayment Method: $txtpayment\nProduct: $txtproduct\n\nRemarks: $txtmessage\n\n$InvoiceSenderName", "From: $InvoiceSenderName <$InvoiceSenderEmailAddress>" );
}
if(strtolower($txtpayment) == "pp") {
header ("Location: https://www.paypal.com/xclick/business=$PaypalEmail&undefined_quantity=1&item_na me=$productname&amount=$productprice&no_shipp//ing=1" );
}
elseif (strtolower($txtpayment) == "ca") {
header ("Location: http://www.munchiesnow.com/orderPOF_finish.html" );
}
}
elseif (strtolower($txtpayment) == "ct") {
header ("Location: http://www.munchiesnow.com/orderPOF_finish.html" );
}
?>
Code:elseif (strtolower($txtpayment) == "ca") { header ("Location: http://www.munchiesnow.com/orderPOF_finish.html" ); } } <--- This curly should be removed! elseif (strtolower($txtpayment) == "ct") { header ("Location: http://www.munchiesnow.com/orderPOF_finish.html" ); }
Barracking - Bar·rack·ing
Noun - Shouting to interrupt a speech with which you disagree
Synonym: Heckling
Get your own FREE Political Blog at Barracking.com
That error should appear in your error log. Always refer to your error log when debugging.![]()
Bookmarks