i want to implement pubnub at my company (i'am currently developping a workflow website). SSL and authentification are used. On a test page, i used javascript library to subscribe to pubnub with my id, a callback works perfectly when i publish via javascript. From this page i have a link to a php page where i want to publish to the same channel with the same id :
require('../scripts/pubnub/3.1/Pubnub.php');
$pubnub = new Pubnub( $publish_key, $subscribe_key );
## Get History
echo("Requesting History...\n");
$messages = $pubnub->history(array(
'channel' => $channelName
'limit' => 100
));
but the page return a 500 error after several minutes.
Dev Console on my company intranet doesnt work any more.
Does somebody has any idea about the problem ? And specially about solutions !
maybe i need to use another php web server to publish via php ?