Pastebin v0.40 released

Sunday, 23 April 2006, 20:08 | Category : Pastebin, Software Development

There hasn’t been a source release of pastebin.com in over a year, and I promised one in April, and here it is!

There’s no new features yet, just what you see on pastebin.com, but the code has been substantially reworked from the last available release. Source is GPL licenced, if you have any questions, add them as comments to this article in case the answers are of benefit to others…

Download pastebin.tar.gz (130 KB)

14 Comments for “Pastebin v0.40 released”

  1. 1Stephan

    Hi Paul,

    thanks for the code ! But I have a problem if I choose Java:

    Query failure: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘\n.java .de1, .java .de2 {font-family: \’Courier New\’, Courier
    update pastebin set codefmt=’

    I havent any problem with the other language only java.

    Any Ideas ?

    Cheers
    Stephan

  2. 2lordelph

    Going live with the new version shook a few bugs out I didn’t capture before – all sorted now!

  3. 3Zachariah

    Great Sir.

  4. 4Bruce

    Any chance of also releasing this under a BSD license? I can’t use it if it’s GPL.

  5. 5lordelph

    Bruce – I tried to email you but not had a reply. What do you want to that would violate the GPL, i.e. what is it about a BSD licence you need?

  6. 6Zachariah

    $post['downloadurl']=”pastebin.php?dl=$pid”;
    - great add-on :)

    Idea:

    html view | download | new post

    “html view” would be a simple preview output to show the user their output on a webpage. This would be nice for html, dhtml, java, css, more …

    Perhaps inline Iframe that shows onclick or new window for the output.

    Thank you for your time and energy.

  7. 7lordelph

    “HTML view” might be too much of an XSS target, e.g. you could craft a page which looked like pastebin.com, but which said “help me with the bandwidth, donate a buck via paypal…” – you get the idea.

  8. 8reisio

    I couldn’t find a bug reporting area, so I’ll just say here: there’s no such thing as “HTML 4.0.1″

    There wouldn’t really be much formatting difference between older versions and even XHTML or XML (and its children), either, but :p This is why validator.w3.org is for “Markup”, not just HTML or something else.

    …and oh ya, pastebins rock :) gj

  9. 9lordelph

    Well spotted, I think that text was originally copied from the GeSHi source but I’ve corrected it now. Thanks for letting me know.

  10. 10Nick

    How do you install this? The install is .file!!

  11. 11Nick

    Okay I tried uploading the things but I kept getting stupid conf errors! HELP!

  12. 12lordelph

    Pastebin is unsupported, but if you provide more info I’ll help if I can.

  13. 13John

    Do you know of any free hosts that support pastebin?

Trackbacks

  1. 1. BuzzzedBlog » Blog Archive » Pastebin released under GPL

Leave a comment