IsError()) { // Something happened
NTFY_AddNotice("Failed to create post! Reason:
" . $result->GetError());
} else { // All OK
header("Location: ./?do=view_post&id=" + strval($result->GetData()));
exit();
}
} else {
NTFY_AddNotice("You must supply image and tags for post");
}
}
NTFY_EchoAllNotices();
?>