Working With LSRC2 and PHP

  • AntGod
  • AntGod's Avatar Topic Author
  • Visitor
  • Visitor
3 years 9 months ago #98029 by AntGod
AntGod created the topic: Working With LSRC2 and PHP
I'm trying to update an installation for my university using limesurvey 1.9.

I didn't understand what I need to change to use LSRC2.
On version 1.9 they did something like this to check if a user has complted a survey and to add a participant.
$sReturn = $testclient->tokenReturn($lsrcUser,$lsrcPass,$lsrcSID,$ACTIVE_SESSION);

userToken = $testclient->insertParticipants($lsrcUser,$lsrcPass,$lsrcSID, $participantData);

I saw the PHP example on manual.limesurvey.org/RemoteControl_2_API I was able to connect to the LSRC2, list survey data, but nothing else.
Can you show me an example to do this, please?

Thanx.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.