Results 1 to 2 of 2

Thread: php working but with an error, Failed Loading

  1. #1
    Join Date
    Feb 2008
    Posts
    18
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default php working but with an error, Failed Loading

    I'm running this code:

    Code:
    <?php
    // Get submitted data
    $name = $_POST['name'];
    $company = $_POST['company'];
    $jobtitle = $_POST['jobtitle'];
    $emailaddress = $_POST['emailaddress'];
    $phone = $_POST['phone'];
    $Maintenance_Operations_and_Training = $_POST['Maintenance_Operations_and_Training'];
    $Information_Services = $_POST['Information_Services'];
    $IMPACT = $_POST['IMPACT'];
    $Document_Mapping = $_POST['Document_Mapping'];
    $Data_and_Dcoument_Management = $_POST['Data_and_Dcoument_Management'];
    $comments = $_POST['comments'];
    
    // Put data into readable format
    $to = email@email.co.uk';
    $subject = 'Enquiry Form;
    $body = "Name: ".$name;
    $body .= "\n\nCompany: ".$company;
    $body .= "\n\nJob Title: ".$jobtitle;
    $body .= "\n\nEmail:".$emailaddress;
    $body .= "\n\nMaintenance Operations and Training Brochure?".$Maintenance_Operations_and_Training;
    $body .= "\n\nInformation Services Brochure?".$Information_Services;
    $body .= "\n\nIMPACT Brochure?".$IMPACT;
    $body .= "\n\nDocument Mapping Brochure?".$Document_Mapping;
    $body .= "\n\nData and Dcoument Management Brochure?".$Data_and_Dcoument_Management;
    $body .= "\n\nComments?".$comments;
    
    
    // Send email
    mail($to, $subject, $body)
    ?>
    The php sends but I get this error:
    Failed loading C:\Program Files\Zend\lib\ZendOptimizer.dll

  2. #2
    Join Date
    Mar 2006
    Location
    Cleveland, Ohio
    Posts
    574
    Thanks
    6
    Thanked 5 Times in 5 Posts

    Default

    If the email is sent and this error is still displayed, I'm curious as to what's going on. Try downloading ZendOptimizer.dll:

    http://www.dynamiclink.nl/htmfiles/r.../info_z/13.htm
    Thou com'st in such a questionable shape
    Hamlet, Act 1, Scene 4

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
  •