require_once 'Services/Delicious.php';
$dlc = &new Services_Delicious($username, $password);
$result = $dlc->addPost('http://pear.php.net', 'PEAR', 'The PHP Extension and Application Repository', 'php');
if (PEAR::isError($result)) {
die($result->getMessage());
} else {
echo 'Success';
} |