Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

The PHP Blog:
Writing a Pastebin in PHP
Jun 14, 2006 @ 11:52:40

From The PHP Blog today, there's this tutorial covering the creation of a "pastebin" style website of your very own. Pastebins are a simple collaboration tool allowing the posting of textual data (most commonly code) to a public place anonymously.

This post will show you step by step, how to create your own personal pastebin. If you don't know already, a pastebin is a website that lets people share text. These kinds of sites are useful when collaborating with project members who are in different locations, because it lets you quickly share pasted data with all members, instead of emailing the text back and forth. Some popular pastebins are pastebin.com, and pastebin.ca.

They develop the backend first, creating a simple MySQL database to hold the information. From there, it's just a bit of PHP away from allowing users to post their information. It's a very basic kind of interface (no feedback capabilities or anything), but with a little tweaking, it could definitely do more.

tagged: pastebin tutorial mysql post anonymously pastebin tutorial mysql post anonymously

Link:


Trending Topics: