summaryrefslogtreecommitdiff
path: root/README
blob: db0e402802925c2af3eb30962d070fef3dc4ca76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
blapaste

Very simple pastebin clone written in PHP

Source code of http://p.of.je

Usage: Place in a directory accessible from a web browser, navigate to 
that page, type something into the text area, click submit. This will 
create a file with the contents that you typed into the form.

Can also be used with pastebinit (https://launchpad.net/pastebinit) 
which should be available in package managers for most Linux distros. 
After installing pastebinit, copy the p.of.je.conf file into 
/usr/share/pastebin.d then can be used with -b p.of.je, e.g -

df -h | pastebinit -b http://p.of.je

Will copy the output of df -h to http://p.of.je, then return the URL 
where it can be viewed

Requirements:

PHP (Tested with 5.5, assumed to work with any recent version)
An HTTP Server (Tested with Apache 2.2)
 
Author: Joe Robinson