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!
- Web server
- Mysql database
- 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:
- Delete old version * Keep preciously files libs/db.php (which contains your login sql) * Delete all files of your FTP
- Upload New version * Upload the v3 of php-pastebin on your FTP * Replace db.php with your
- 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!" - Remove upgrade.php and go on your website
Demonstration
Thanks
For safety tests, thanks to:
For Debug, thanks to: