3

I am trying to generate session Ids for users on a website using opentok.

I am using a tutorial from the opentok website to create the session id (https://github.com/opentok/Opentok-PHP-SDK).

The problem is that when I run the code, the website keeps on loading and no reply from the server is occurring.

4

1 回答 1

3

I fixed the problem by commenting out these lines from OpenTokSDK.php

foreach($data as $key => $value)
{
    $value = urlencode($value);
    $dataString .= "$key=$value&";
}
于 2013-04-13T23:21:22.780 回答