Skip to content

aureagle/php-pastefs-post

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-pastefs-post

PasteFS Content Posting using PasteFS API using PHP

usage:

<?php
include_once('pastefs.php');

$pastefs = new PasteFS('API_KEY');
$pastefs->setText("text that needs to be posted goes here");
$pasteInfo = $pastefs->post();

$pasteInfo = json_decode( $pasteInfo );
$pasteIdInfo = json_decode( base64_decode( $pasteInfo->packinfo ));

$pid = $pasteIdInfo->pid; // global pid
$ppid = $pasteIdInfo->ppid; // personal pid

About

PHP Wrapper for PasteFS Content Posting API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages