This file contains 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 | |
// See the following OnpubAPI tutorial for more info: | |
// http://onpubco.com/index.php?articleID=76§ionID=2 | |
// Establish the connection to the Onpub database. | |
$pdo = new PDO( "mysql:host=localhost;dbname=test", "test", "test" ); | |
// Include the OnpubAPI classes. | |
include 'onpub/api/onpubapi.php'; |
NewerOlder