PHPS Pastebin is a simple pastebin 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(native highlight_string() call).
Please report any bugs to me! Any notes welcome!
Feel free to use these sources in your applications. I'd be pleased if you add this site url to your sources if planning to use my code ;)
The configuration of script is very easy and well-documented inside it. So please read the comments in configuration part of script.

[Live demo]
[Download]

Why use PHPS Pastebin? Are you already a user of PHPS Pastebin?

If you already a PHPS Pastebin user and have an account on ohloh.net, and want to add yourself as user of this software so help our project to grow and become more popular, click button on the bottom of this page(if you don't see it you should enable JS if you have it disabled. or there's something with ohloh.net server).

How to install?
  1. Set a file creating permission for webserver to a home directory(or the sources directory).
  2. Copy this file to home directory.
  3. Optionally set a password for adding sources and tune up other settings. You can also use "valid html" image (html.png) from the package on the pages.
Upgrade notes

If you were previously using PHPS Pastebin 0.23-0.24 you can just replace your current script, leaving database file untouched, it will still be interpreted. Config lines are now in ./conf.php.

Version History

If you wish to contact me or report a bug, drop a line to email specified in the sources. [My PGP public key]
You can find me @ irc.freenode.net in #gentoo, #gentoo-ru, #nginx, #python, and others, under nicks Web31337/InCaribbeanBlue/_AnywhereIs_/ADayWithoutRain.
Be sure i will read your message in max 12 hours, min 1 minute. :)

[Paste source]
Coded by edK
This site has valid HTML 4.01!

Valid HTML 4.01 Transitional