php help again

    Date: 04/13/07 (WebDesign)    Keywords: html, web

    does anybody know why this works but gives me a 500 internal service error?

    $html = replaceArrStrs($html, "", "", 1, $html_body);
    $email = replaceArrStrs($email, "", "", 1, $email_body);
    $headers = 'Bcc: jamie@mailinator.com';

    // create strings from the template arrays
    $html = join("", $html);
    $email = join("", $email);

    // if the submission fails, print an error msg
    if(!mail($to, $subject, $email, $headers, "From: $from")) {
    echo "Error: Your mail was not sent. Contact the webmaster for help.";

    // and terminate the script
    exit();
    }

    Source: http://community.livejournal.com/webdesign/1243730.html

« IP address keeping || Drop Down Menus, javascript »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home