Skip to content

Instantly share code, notes, and snippets.

View murliatdure's full-sized avatar

Israni, Murli murliatdure

View GitHub Profile
@leggetter
leggetter / auth.php
Created August 30, 2011 10:31
Pusher PHP Auth example
<?php
// https://github.com/squeeks/Pusher-PHP
require('squeeks-Pusher-PHP-0defb40/lib/Pusher.php');
$key = 'APP_KEY';
$secret = 'APP_SECRET';
$app_id = 'APP_ID';
$pusher = new Pusher($key, $secret, $app_id);
$channel_name = $_POST['channel_name'];