Welcome to Welcome to DNF.com™ - Domain Sales, Domain Forum, Domain Appraisals, Domain Registrars

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!

Results 1 to 7 of 7
  1. #1
    Platinum Lifetime Member

    Join Date
    Apr 2006
    Location
    Vermont
    Posts
    110
    DNF$
    573
    Bank
    0
    Total DNF$
    573
    Donate  

    what is wrong with this script?

    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

  2. #2
    Social Media Evangelist
    dotcomgiant's Avatar
    Join Date
    Feb 2005
    Location
    Hyderabad
    Posts
    778
    Country

    India Follow dotcomgiant On Twitter Add dotcomgiant on Facebook
    DNF$
    4,588
    Bank
    0
    Total DNF$
    4,588
    Donate  
    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

  3. #3
    Country hopper
    katherine's Avatar
    Join Date
    Jul 2005
    Location
    Free World
    Posts
    7,499
    Country

    Iceland
    DNF$
    30,540
    Bank
    0
    Total DNF$
    30,540
    Donate  
    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

  4. #4
    Lost @Space
    Poohnix's Avatar
    Join Date
    Feb 2007
    Location
    In Orbit
    Posts
    819
    Country

    Europe
    DNF$
    800
    Bank
    0
    Total DNF$
    800
    Donate  
    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

  5. #5
    Platinum Lifetime Member

    Join Date
    Apr 2006
    Location
    Vermont
    Posts
    110
    DNF$
    573
    Bank
    0
    Total DNF$
    573
    Donate  
    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" );


    }


    ?>

  6. #6
    Lost @Space
    Poohnix's Avatar
    Join Date
    Feb 2007
    Location
    In Orbit
    Posts
    819
    Country

    Europe
    DNF$
    800
    Bank
    0
    Total DNF$
    800
    Donate  
    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

  7. #7
    ArcadeScript.Com
    Varchar's Avatar
    Join Date
    Mar 2005
    Location
    Staten Island
    Posts
    1,790
    DNF$
    45,788
    Bank
    0
    Total DNF$
    45,788
    Donate  
    That error should appear in your error log. Always refer to your error log when debugging.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Domain name forum recommended by Domaining.com