"@$file", 'type' => 'xml'); if ($message != '') $data['message'] = $message; if ($email != '') $data['email'] = $email; curl_setopt($curl, CURLOPT_POSTFIELDS, $data); $response = curl_exec($curl); $err = curl_error($curl); if ($err != '') { return "CURLERROR: $err"; } curl_close ($curl); return $response; } ?>