Ever wanted to implement a 'showcode' feature, but you didn't want to worry about memory being taken up on your server to hold the users' code, or that it might not be portable for the sake of Telnet clients?
Well, look no further! This library interfaces with the Pastebin API to allow you to submit code snippets to them without any of these worries!
Documentation on how to use this library is included.
[Update 4/5/11]
As of this update, the Pastebin API has been changed. One must now sign up on the Pastebin website and obtain a Developer API key, then set Pastebin/key to this value.
* Submitted pastes no longer produce Javascript errors when they include spaces.
+ Works with the new Pastebin API.
ID:109079
Jan 17 2011, 10:00 pm
|
|
Feb 5 2011, 11:49 am
|
|
In BuildQuery(), on the line "if(window.XMLHtpRequest) {", it should be XMLHttpRequest.
|