atmoner / php-pastebin-v3

Php pastebin tool
110 stars 56 forks source link

Hook Php-pastebin V3


What is Php-pastebin?

Pastebin is here to help you collaborate on debugging code snippets.
If you're not familiar with the idea, most people use it like this:

How to install php-pastebin?

To install php-pastebin, you do not need much!

  1. Web server
  2. Mysql database
  3. mod_rewrite enabled on your apache web server (see it in your phpinfo())

To begin, send your file on ftp and open your browser to the selected domain name, you should see the installation page.
Follow the installation instructions.

Once the installation is complete, you must delete the install.php file, libs/db.sql and put a chmod 644 on the file libs/db.php

How to upgrade v2 to v3?

To update your version of php-pastebin, you must:

  1. Delete old version
    • Keep preciously files libs/db.php (which contains your login sql)
    • Delete all files of your FTP
  2. Upload New version
    • Upload the v3 of php-pastebin on your FTP
    • Replace db.php with your
  3. Download upgrade.php and add it at root of your script
    • Go on your navigator and open upgrade.php
    • Click on "Upgrade v2 to v3 now!"
  4. Remove upgrade.php and go on your website

Demonstration

Demonstration

Thanks

For safety tests, thanks to:

For Debug, thanks to: