Simple Pastebin Web app for storing and sharing text snippets with syntax highlighting
The script is written in PHP and features a straightforward pastebin-style interface, complete with syntax highlighting for multiple widely-used programming languages. While it was created in a short timeframe and may not have every possible feature, it provides a solid foundation for basic text-sharing functionality
- PHP (7.4+)
- MySQL (5.7+)
Download the zipfile from the section above and extract its contents.- Navigate to the
rootdirectory of the script, where you can findindex.php. - Create a user and database for MySQL, and then import/install the
db.sqlfile. - Once you have imported the file to your database, delete the
db.sqlfile. - Open the
config.phpfile in the include folder andenter your MYSQL details and site configuration Upload all the files to your web server, withindex.php,raw.php, andpaste.phplocated in theroot folder.