Created
February 23, 2014 22:56
-
-
Save ksnider/9178549 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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