PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Oleg KronuS  >  PasteBin API  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: usage example
Class: PasteBin API
Create and list text snippets sent to PasteBin
Author: By
Last change:
Date: 9 years ago
Size: 521 bytes


Class file image Download


$paste = new pastebin();
$paste->set_paste_name('test paste');

$pastebin_api = new pastebin_api('*****************************');

// create new paste via $paste object
echo $pastebin_api->send_paste($paste);

// get 18 latest trends


For more information send a message to info at phpclasses dot org.