Filemaker api重新运行php中的958错误代码

问题描述 投票:0回答:1

我正在尝试使用curl PHP访问FileMaker。在这里,我没有使用filmmaker PHP类。我正在将记录从电影制片人导入Prestashop网站。当管理员在Prestashop中删除产品时,其也会在FileMaker数据库中删除]

    $nome = 'http://ipaddress:port/fmi/xml/FMPXMLRESULT.xml?-db=tablename&-lay=export&recordid=$recordid&-delete';

    $cURL = curl_init($nome);

    curl_setopt($cURL, CURLOPT_RETURNTRANSFER, true);

    curl_setopt($cURL, CURLOPT_FAILONERROR, true);

    curl_setopt($cURL, CURLOPT_HTTPHEADER, $header_fields);

    $response = curl_exec($cURL);

   if ($cURL_err = curl_errno($cURL)) {
    die(__FILE__ . "(" . __LINE__ . "): Communication Error: (' . $cURL_err . ')" . 
    curl_error($cURL));
   }

   curl_close($cURL);

    //Removed the Headers.
   when I am executing the code filmmaker return error code 958.
php curl filemaker error-code
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.