Php pastebin tool
PHP JavaScript HTML Other
Switch branches/tags
Nothing to show
Latest commit 313a3b0 Feb 24, 2017 @atmoner committed on GitHub Merge pull request #57 from Kcchouette/patch-1
Fix #44 - Change http to https link for JQuery

README.md

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:

  • Submit a code fragment to Php-pastebin,
  • Getting a url like http://demo.php-pastebin.com/4lqbxycs,
  • paste the url into an IRC or IM conversation, someone responds by reading and perhaps submitting a modification of your code, you then view the modification, maybe using the built in diff tool to help locate the changes

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
  1. Upload New version
  • Upload the v3 of php-pastebin on your FTP
  • Replace db.php with your
  1. 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!"
  1. Remove upgrade.php and go on your website

Demonstration

Demonstration

Thanks

For safety tests, thanks to:

For Debug, thanks to: