Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Neo
Forum: Web Development 04-23-2019
3,838
Posted By Neo
Thanks to the excellent tech support team at...
Thanks to the excellent tech support team at PubNub, I have PubNub working with our PHP backend.

Thanks Trevor at PubNub.

This PubNub PHP SDK V4 test code works with PHP 5.6:

<?php...
Forum: Web Development 04-22-2019
3,838
Posted By Neo
For PubNub PHP SDK V3, this bare bones should...
For PubNub PHP SDK V3, this bare bones should work (installed with composer):

<?php
require_once('/var/www/pubnub_v3/vendor/autoloader.php');

$skey = "my-sub-key";
$pkey = "my-pub-key";
...
Forum: Web Development 04-22-2019
3,838
Posted By Neo
PubNub PHP SDK V4 Issues
Any idea why this fails?

Here is a PubNub PHP SDK V4 working code which throws the error:

PHP Parse error: syntax error, unexpected 'use' (T_USE) in .....

According to the PubNub docs, V4...
Showing results 1 to 3 of 3

 

Featured Tech Videos

All times are GMT -4. The time now is 02:49 PM.
Unix & Linux Forums Content Copyright 1993-2021. All Rights Reserved.
Privacy Policy