PHPS Pastebin is a simple pastebin site script, designed to be fast and secure.
It can be used to power up a pastebin sites, to highlight PHP code. It cannot highlight any other syntax, it's target is PHP.
Please report any bugs to me! Any notes welcome!
If you want to help, take your time to fully test the script.
The configuration is very easy and well-documented inside it. So please read the comments in configuration part of script.
Development Version (Recent): 0.24 Download
Stable Version: 0.23 Download
Why use PHPS Pastebin?1. No special server setup, no SQL, no any other extentions required to run it!
3. Has no vulnerabilities! (Or has if you discoved one in PHP functions used here or zlib).
4. Very light-all in one script!
Version History- 0.1 RELEASE 16.04.2009
Used webserver config bounded to php_highlight_file function inside php module to highlight code in .phps files.
- 0.21 RELEASE 17.04.2009
Since v 0.2 it dumps pasted source into php-parsed files.
- 0.22 STABLE 18.04.2009
Fixed some bugs 0.21, added extra capabilities, ex. setting up a path to store sources, limits for pasted code/title length.
- 0.23 development 19.04.2009
Added an index file for pastes, paste remove URLs and view of the recent entries on main page.
This version is still in development, you may use it on your own risk, it is NOT stable and provided "as is".
Please, report any bugs in this version to me!
- 0.23 STABLE 29.04.2009
A stable version 0.23.
- 0.24 RELEASE 18.06.2009
Added IP logging + timestamps. Code is more indented, some of functions were rewritten or removed.
Default encoding is UTF-8 now and works well with it.
This release is the first one to pass testing with php.ini's error_reporting=E_ALL | E_STRICT. Previous versions don't pass this test.
Contact MeYou can find out my email inside index.php on comments ;)
By reporting bugs here you may be sure I will receive notification immidiately.
RegardsThanks to irc.freenode.net##php users for help!
Use Patent Claims
Include Install Instructions
These details are provided for information only. No information here is legal advice and should not be used as such.