Update Clublog.php
这个提交包含在:
父节点
08735b116f
当前提交
f2277f5d57
共有 1 个文件被更改,包括 3 次插入 和 4 次删除
|
|
@ -76,16 +76,15 @@ class Clublog extends CI_Controller {
|
||||||
|
|
||||||
// output the response
|
// output the response
|
||||||
curl_setopt($request, CURLOPT_RETURNTRANSFER, true);
|
curl_setopt($request, CURLOPT_RETURNTRANSFER, true);
|
||||||
echo curl_exec($request);
|
$response = curl_exec($request);
|
||||||
|
$info = curl_getinfo($request);
|
||||||
|
|
||||||
if(curl_errno($request)) {
|
if(curl_errno($request)) {
|
||||||
echo 'Curl error: '.curl_error($request);
|
echo 'Curl error: '.curl_error($request);
|
||||||
}
|
}
|
||||||
curl_close ($request);
|
curl_close ($request);
|
||||||
|
|
||||||
$results = strval($request);
|
$check = strpos($response, 'accepted');
|
||||||
|
|
||||||
$check = strpos($results, 'accepted');
|
|
||||||
|
|
||||||
// If Clublog Accepts mark the QSOs
|
// If Clublog Accepts mark the QSOs
|
||||||
if ($check !== false) {
|
if ($check !== false) {
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用