cancel
Showing results for 
Search instead for 
Did you mean: 

Your library doesn't work.... examples too ...

neouf
Champ in-the-making
Champ in-the-making
In a first time, i modified your path architecture for examples because it didn't work very well.
and now i can try to do something.. (go to login page for example ) but when i would like try to login to browse or do something with your "stable" version i have an error.

what is this : WSDoAllReceiver: security processing failed (actions number mismatch) !!

I can't do anything with your php package… no comments.. examples doesn't work…

Can u do something..

Ty
10 REPLIES 10

flafeer
Champ in-the-making
Champ in-the-making

   //   $createdDate = date("Y-m-d\TH:i:s\Z");
   //   $expiresDate = date("Y-m-d\TH:i:s\Z", mktime(date("H")+1, date("i"), date("s"), date("m"), date("d"), date("Y")));

      $createdDate = date("Y-m-d\TH:i:s");
      $expiresDate = date("Y-m-d\TH:i:s", mktime(date("H")+1, date("i"), date("s"), date("m"), date("d"), date("Y")));

      $createdDate .= "-08:00"; //your timezone
      $expiresDate .= "-08:00";



I don't do a lot of php, but couldn't this be done more simply as:



$createdDate = gmdate("Y-m-d\TH:i:s\Z");
$expiresDate = gmdate("Y-m-d\TH:i:s\Z",time()+3600)


That gives you the one hour margin on the expiration and you don't have to manually code your own timezone.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.