Skip to content

Instantly share code, notes, and snippets.

View sumitramteke's full-sized avatar

Sumit Ramteke sumitramteke

View GitHub Profile
@jbhannah
jbhannah / skype_status.php
Created May 23, 2011 05:14
Skype status PHP script for use with AJAX
<?php
header('Content-type: application/json');
if ( array_key_exists('username', $_GET) )
$user = $_GET['username'];
else
$user = "";
$curl = curl_init("http://mystatus.skype.com/${user}.num");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);