Skip to content

Instantly share code, notes, and snippets.

@ksnider
Created February 23, 2014 22:56
Show Gist options
  • Select an option

  • Save ksnider/9178549 to your computer and use it in GitHub Desktop.

Select an option

Save ksnider/9178549 to your computer and use it in GitHub Desktop.
<?php
echo "Hello World! <br/>";
// Connect to Infusionsoft
require_once("isdk.php");
$app = new iSDK;
if ($app->cfgCon("connectionName")) {
// Current date in Infusionsoft-friendly format
$currentDate = date_format(date_create(), 'Ymd\TH:i:s');
echo "You connected at $currentDate <br/>";
}else {
echo "Not Connected...";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment