PDA

View Full Version : php working but with an error, Failed Loading



abzd
03-07-2008, 10:05 AM
I'm running this 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

alexjewell
03-07-2008, 01:37 PM
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/rframes/info_dll/info_z/13.htm