[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17190] more on external login
From: |
sigurdne |
Subject: |
[Fmsystem-commits] [17190] more on external login |
Date: |
Tue, 24 Oct 2017 03:24:27 -0400 (EDT) |
Revision: 17190
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17190
Author: sigurdne
Date: 2017-10-24 03:24:26 -0400 (Tue, 24 Oct 2017)
Log Message:
-----------
more on external login
Modified Paths:
--------------
trunk/bookingfrontend/inc/custom/default/MinId2.php
Modified: trunk/bookingfrontend/inc/custom/default/MinId2.php
===================================================================
--- trunk/bookingfrontend/inc/custom/default/MinId2.php 2017-10-22 19:15:24 UTC
(rev 17189)
+++ trunk/bookingfrontend/inc/custom/default/MinId2.php 2017-10-24 07:24:26 UTC
(rev 17190)
@@ -193,6 +193,15 @@
$post_string = implode ('&', $post_items);
+
+ if ($this->debug)
+ {
+ echo "POST:<br/>";
+ _debug_array($webservicehost);
+ _debug_array($post_data);
+ }
+
+
$ch = curl_init();
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_URL, $webservicehost);
@@ -205,6 +214,17 @@
curl_close($ch);
$ret = json_decode($result, true);
+
+ if ($this->debug)
+ {
+ echo "httpCode:<br/>";
+ _debug_array($httpCode);
+ echo "Returdata:<br/>";
+ _debug_array($ret);
+ die();
+ }
+
+
if(isset($ret['orgnr']))
{
return array($ret);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17190] more on external login,
sigurdne <=